[llvm] [InstCombine] Fold selection between less than zero and one (PR #69961)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 01:08:03 PDT 2023


https://github.com/nikic commented:

Agree with @XChy on how to handle this. That will enable more combinations of predicates to fold.

This is something of a recurring pattern, see https://reviews.llvm.org/D154791 and https://github.com/llvm/llvm-project/pull/68244 for related patches.

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


More information about the llvm-commits mailing list