[BasicAA] Handle PHIs without incoming values gracefully
Fix a bug introduced by f6f6f637. Now for empty PHIs, instead of crashing on assert(hasVal()) in Optional's internals, we'll return NoAlias, as we did before that patch. Differential Revision: https://reviews.llvm.org/D103831
Loading
Please sign in to comment