[llvm] [VPlan] Replace VPRegionBlock with explicit CFG before execute (NFCI). (PR #117506)
via llvm-commits
llvm-commits at lists.llvm.org
Sun May 11 05:02:11 PDT 2025
================
@@ -2760,6 +2760,15 @@ LoopVectorizationCostModel::getVectorIntrinsicCost(CallInst *CI,
return TTI.getIntrinsicInstrCost(CostAttrs, CostKind);
}
+static VPBasicBlock *getHeaderForMainVectorLoop(VPlan &Plan,
----------------
ayalz wrote:
```suggestion
static VPBasicBlock *getSingleLoopHeader(VPlan &Plan,
```
? As this is regardless of loop being vector, main or otherwise. I.e., works until epilog and/or scalar remainder/fallback loops join main vector loop in same Plan.
https://github.com/llvm/llvm-project/pull/117506
More information about the llvm-commits
mailing list