[InstCombine] Fix infinite combine loop (PR61361)
In the degenerate case where the select is fed by an unsimplified icmp with two constant operands, don't try to replace one constant with another. Wait for the icmp to be simplified first instead. Fixes https://github.com/llvm/llvm-project/issues/61361.
parent
f2a6fe60
Please register or sign in to comment