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

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 23:08:51 PDT 2026


RKSimon 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 ?

That's fine - cheers

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


More information about the llvm-commits mailing list