================ @@ -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