[llvm] [InstCombine] Optimise the expression `(C & A) | (select (C ^ true), B, false)` with `FoldOrOfAndsWithSelectToLogical` (PR #178438)
Rajveer Singh Bharadwaj via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 9 08:21:11 PST 2026
================
----------------
Rajveer100 wrote:
I will change the name, had that left out while debugging.
Regarding the method, since we are dealing with folding logical or, isn't it more suitable here rather than in `InstCombineSelect.cpp`, or did you mean something else?
https://github.com/llvm/llvm-project/pull/178438
More information about the llvm-commits
mailing list