[llvm] [InstCombine] Simplify a complex OR to XOR (PR #75129)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 05:07:27 PST 2023


================
@@ -3343,6 +3343,25 @@ Instruction *InstCombinerImpl::visitOr(BinaryOperator &I) {
   if (Instruction *X = foldComplexAndOrPatterns(I, Builder))
----------------
bcl5980 wrote:

maybe move into foldComplexAndOrPatterns?

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


More information about the llvm-commits mailing list