Unreachable BBs don't meaningfully contribute to the PHI node, replace
their incoming value with undef.
This fixes PR24013.
Differential D10903
[LICM] Replace incoming values with undef if the incoming BB is unreachable majnemer on Jul 2 2015, 12:23 PM. Authored by
Details Unreachable BBs don't meaningfully contribute to the PHI node, replace This fixes PR24013.
Diff Detail Event Timeline
|
Why do this here rather than in InstSimplify? Do we form these too late for that to clean it up? If so, should we add it to InstSimplify and call that here?