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

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 1 07:44:00 PDT 2025


================
@@ -3192,7 +3192,7 @@ tryToMatchAndCreateMulAccumulateReduction(VPReductionRecipe *Red,
         dyn_cast_if_present<VPWidenCastRecipe>(A->getDefiningRecipe());
     auto *RecipeB =
         dyn_cast_if_present<VPWidenCastRecipe>(B->getDefiningRecipe());
-    auto *Mul = cast<VPWidenRecipe>(VecOp->getDefiningRecipe());
+    auto *MulR = cast<VPWidenRecipe>(VecOp->getDefiningRecipe());
----------------
sdesmalen-arm wrote:

This rename is NFC, maybe remove it from this PR?

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


More information about the llvm-commits mailing list