[llvm] [InstCombine] Enable FoldOpIntoSelect and foldOpIntoPhi when the Op's other parameter is non-const (PR #166102)

Gábor Spaits via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 01:54:48 PST 2025


spaits wrote:

I have added the tests from the two mentioned issues.
#137161 is interesting. The motivating case with a constant 0 in the select work. But if we have a non zero constant it doesn't.

https://github.com/llvm/llvm-project/pull/166102


More information about the llvm-commits mailing list