[llvm-branch-commits] [llvm] [LV] Bundle sub reductions into VPExpressionRecipe (PR #147255)

David Sherwood via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 7 04:22:33 PDT 2025


================
@@ -5538,7 +5538,7 @@ LoopVectorizationCostModel::getReductionPatternCost(Instruction *I,
                              TTI::CastContextHint::None, CostKind, RedOp);
 
     InstructionCost RedCost = TTI.getMulAccReductionCost(
-        IsUnsigned, RdxDesc.getRecurrenceType(), ExtType, CostKind);
+        IsUnsigned, RdxDesc.getRecurrenceType(), ExtType, false, CostKind);
----------------
david-arm wrote:

nit: `/*Negated=*/false` and same for other below.

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


More information about the llvm-branch-commits mailing list