[llvm] [VPlan] Add VPSingleDefBundleRecipe, replacing extended reduction recipes. (PR #144281)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 1 05:55:56 PDT 2025


================
@@ -2804,12 +2728,10 @@ void VPlanTransforms::convertToConcreteRecipes(VPlan &Plan,
       ToRemove.push_back(VPI);
     }
     for (VPRecipeBase &R : make_early_inc_range(*VPBB)) {
-      if (auto *ExtRed = dyn_cast<VPExtendedReductionRecipe>(&R)) {
-        expandVPExtendedReduction(ExtRed);
-        continue;
+      if (auto *Bundle = dyn_cast<VPSingleDefBundleRecipe>(&R)) {
+        Bundle->unbundle();
+        Bundle->eraseFromParent();
       }
----------------
fhahn wrote:

Yep, updated, thanks

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


More information about the llvm-commits mailing list