[InstCombine] fix potential miscompile in select value equivalence
As shown in the example based on: https://llvm.org/PR49832 ...and the existing test, we can't substitute a vector value because the equality compare replacement that we are attempting requires that the comparison is true for the entire value. Vector select can be partly true/false.
Loading
Please register or sign in to comment