[llvm] [InstCombine] fold icmp of select with constants and invertible op (PR #147182)

Acthinks Yang via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 6 19:06:49 PDT 2025


Acthinks wrote:

> We can simply extend `foldICmpEqualityWithOffset` to handle the motivating case.

Do we need to keep the optimization for ucmp/scmp?

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


More information about the llvm-commits mailing list