Skip to content

Commit f5cf04c

Browse files
committed
[LV] Remove unused variable after 38376de.
1 parent 38376de commit f5cf04c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9378,7 +9378,6 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
93789378

93799379
VPRegionBlock *LoopRegion = Plan->getVectorLoopRegion();
93809380
VPBasicBlock *HeaderVPBB = LoopRegion->getEntryBasicBlock();
9381-
VPBasicBlock *VPBB = HeaderVPBB;
93829381
BasicBlock *HeaderBB = OrigLoop->getHeader();
93839382
bool NeedsMasks =
93849383
CM.foldTailByMasking() ||
@@ -9509,9 +9508,6 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
95099508
PrevVPBB = VPBB;
95109509
}
95119510

9512-
// After here, VPBB should not be used.
9513-
VPBB = nullptr;
9514-
95159511
assert(isa<VPRegionBlock>(Plan->getVectorLoopRegion()) &&
95169512
!Plan->getVectorLoopRegion()->getEntryBasicBlock()->empty() &&
95179513
"entry block must be set to a VPRegionBlock having a non-empty entry "

0 commit comments

Comments
 (0)