[llvm] [InstCombine] Fold vector.reduce.op(vector.reverse(X)) -> vector.reduce.op(X) (PR #91743)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu May 16 07:38:54 PDT 2024
================
@@ -1435,6 +1435,34 @@ static Instruction *foldBitOrderCrossLogicOp(Value *V,
return nullptr;
}
+Value *InstCombinerImpl::simplifyReductionOperand(Value *Arg,
+ bool CanReorderLanes) {
----------------
david-arm wrote:
Done
https://github.com/llvm/llvm-project/pull/91743
More information about the llvm-commits
mailing list