[llvm] [InstCombine] Fold select chain to frozen bool reduction (PR #217482)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 18:52:56 PDT 2026


user1342234 wrote:

> We have supported the bitwise and form in VectorCombine: https://godbolt.org/z/69nj4e8Yd
> Can you extend it to support logical and/or by inserting freezes? https://alive2.llvm.org/ce/z/_2BpEd

I can add support for logical and/or with freezes in VectorCombine. I will close this PR and open a new one. Is this ok with you @RKSimon ?

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


More information about the llvm-commits mailing list