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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 07:04:31 PST 2023


nikic wrote:

@elhewaty I think the type of your `One` is wrong. It should be the same type as `SLTZero` (and i1 or i1 vector), not the same type as the original select.

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


More information about the llvm-commits mailing list