llvm
85ab7734 - [InstCombine] Fix infinite combine loop in evaluateInDifferentType (#202572)

Commit
1 day ago
[InstCombine] Fix infinite combine loop in evaluateInDifferentType (#202572) The implementation assumes that all original uses inside visited instructions would get removed as part of changing the type. However, this is not true for uses in select conditions, as only the value operands change type in that case. Bail out if we encounter uses in select conditions to avoid this. Fixes https://github.com/llvm/llvm-project/issues/173148.
Author
Parents
Loading