[llvm] [InstCombine] Fold `select Cond, not X, X` into `Cond ^ X` (PR #93591)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 11:33:55 PDT 2024


goldsteinn wrote:

Im somewhat partial to https://github.com/llvm/llvm-project/pull/90089. In general would prefer to use existing analysis logic (`isImpliedCondition...`) than this bespoke function.
Is there anything this function can do that other cant?

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


More information about the llvm-commits mailing list