[llvm] [VPlan] Add helper to run VPlan passes, verify after run (NFC). (PR #123640)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 06:12:24 PST 2025
================
@@ -9817,10 +9833,10 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
PhiR->setOperand(0, Plan->getOrAddLiveIn(RdxDesc.getSentinelValue()));
}
}
-
- VPlanTransforms::clearReductionWrapFlags(*Plan);
for (VPRecipeBase *R : ToDelete)
R->eraseFromParent();
+
+ VPlanTransforms::runPass(VPlanTransforms::clearReductionWrapFlags, *Plan);
----------------
fhahn wrote:
Yep exactly
https://github.com/llvm/llvm-project/pull/123640
More information about the llvm-commits
mailing list