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

via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 11:13:39 PDT 2024


goldsteinn wrote:

 > As there is no way to remove one-use constraint in `InstCombinerImpl::foldSelectIntoOp`, should we handle this pattern in this PR?

https://github.com/llvm/llvm-project/pull/84696 adds the ability to do that.


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


More information about the llvm-commits mailing list