[llvm] [VPlan] Set debug location for VPReduction/VPWidenPHI/VPWidenIntrinsicRecipe. (PR #120054)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 04:17:18 PST 2024


================
@@ -9575,9 +9575,9 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
       if (CM.blockNeedsPredicationForAnyReason(BB))
         CondOp = RecipeBuilder.getBlockInMask(BB);
 
-      VPReductionRecipe *RedRecipe =
-          new VPReductionRecipe(RdxDesc, CurrentLinkI, PreviousLink, VecOp,
-                                CondOp, CM.useOrderedReductions(RdxDesc));
+      VPReductionRecipe *RedRecipe = new VPReductionRecipe(
----------------
alexey-bataev wrote:

```suggestion
      auto *RedRecipe = new VPReductionRecipe(
```


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


More information about the llvm-commits mailing list