Skip to content

Commit 31a94bd

Browse files
committed
[VPlan] Rename Preheader -> Entry in createInitialVPlan (NFCI).
Split off from #92651 as suggested.
1 parent ab9c2b1 commit 31a94bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlan.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,9 @@ VPlan::~VPlan() {
790790

791791
VPlanPtr VPlan::createInitialVPlan(const SCEV *TripCount, ScalarEvolution &SE,
792792
BasicBlock *PH) {
793-
VPIRBasicBlock *Preheader = new VPIRBasicBlock(PH);
793+
VPIRBasicBlock *Entry = new VPIRBasicBlock(PH);
794794
VPBasicBlock *VecPreheader = new VPBasicBlock("vector.ph");
795-
auto Plan = std::make_unique<VPlan>(Preheader, VecPreheader);
795+
auto Plan = std::make_unique<VPlan>(Entry, VecPreheader);
796796
Plan->TripCount =
797797
vputils::getOrCreateVPValueForSCEVExpr(*Plan, TripCount, SE);
798798
// Create empty VPRegionBlock, to be filled during processing later.

0 commit comments

Comments
 (0)