[llvm] [InstCombine] Optimise the expression `(C & A) | (select (C ^ true), B, false)` with `FoldOrOfAndsWithSelectToLogical` (PR #178438)

Andreas Jonson via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 9 08:06:00 PST 2026


================

----------------
andjo403 wrote:

missing a I->isIntOrIntVectorTy(1) check here and test where the types are something other then i1 

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


More information about the llvm-commits mailing list