[InstCombine] Handle undef when pruning unreachable code
If the branch condition is undef, then behavior is undefined and neither of the successors are live. This is to ensure that optimization quality does not decrease when a constant gets replaced with undef/poison in this context.
Loading
Please sign in to comment