[llvm] [VPlan] Replace VPRegionBlock with explicit CFG before execute (NFCI). (PR #117506)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 04:36:54 PDT 2025


================
@@ -2760,6 +2760,15 @@ LoopVectorizationCostModel::getVectorIntrinsicCost(CallInst *CI,
   return TTI.getIntrinsicInstrCost(CostAttrs, CostKind);
 }
 
+static VPBasicBlock *getHeaderForMainVectorLoop(VPlan &Plan,
----------------
fhahn wrote:

Moved to vputils, now this utility is also used for native path, where there may be multiple headers; Adjusted the name to `getTopLevelVectorLoopHeader`

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


More information about the llvm-commits mailing list