Skip to content
Commit d32cc150 authored by Daniil Suchkov's avatar Daniil Suchkov
Browse files

[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
parent e72f16b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment