[llvm] [VPlan] Dispatch to multiple exit blocks via middle blocks. (PR #112138)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 06:08:17 PST 2024
================
@@ -1820,6 +1820,57 @@ void VPlanTransforms::createInterleaveGroups(
}
}
+void VPlanTransforms::handleUncountableEarlyExit(
+ VPlan &Plan, ScalarEvolution &SE, Loop *OrigLoop,
+ BasicBlock *UncountableExitingBlock, VPRecipeBuilder &RecipeBuilder) {
+ auto *LatchVPBB =
+ cast<VPBasicBlock>(Plan.getVectorLoopRegion()->getExiting());
+ VPBuilder Builder(LatchVPBB->getTerminator());
+ auto *MiddleVPBB = Plan.getMiddleBlock();
+ VPRegionBlock *LoopRegion = Plan.getVectorLoopRegion();
----------------
fhahn wrote:
Udated, thanks
https://github.com/llvm/llvm-project/pull/112138
More information about the llvm-commits
mailing list