[llvm] [VPlan] Hook IR blocks into VPlan during skeleton creation (NFC) (PR #114292)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 25 13:29:30 PST 2024
================
@@ -865,9 +861,10 @@ VPlanPtr VPlan::createInitialVPlan(Type *InductionTy,
VPIRBasicBlock *Entry =
VPIRBasicBlock::fromBasicBlock(TheLoop->getLoopPreheader());
VPBasicBlock *VecPreheader = new VPBasicBlock("vector.ph");
+ VPBlockUtils::connectBlocks(Entry, VecPreheader);
----------------
fhahn wrote:
Added a comment, thanks!
https://github.com/llvm/llvm-project/pull/114292
More information about the llvm-commits
mailing list