File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -9378,7 +9378,6 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
9378
9378
9379
9379
VPRegionBlock *LoopRegion = Plan->getVectorLoopRegion ();
9380
9380
VPBasicBlock *HeaderVPBB = LoopRegion->getEntryBasicBlock ();
9381
- VPBasicBlock *VPBB = HeaderVPBB;
9382
9381
BasicBlock *HeaderBB = OrigLoop->getHeader ();
9383
9382
bool NeedsMasks =
9384
9383
CM.foldTailByMasking () ||
@@ -9509,9 +9508,6 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
9509
9508
PrevVPBB = VPBB;
9510
9509
}
9511
9510
9512
- // After here, VPBB should not be used.
9513
- VPBB = nullptr ;
9514
-
9515
9511
assert (isa<VPRegionBlock>(Plan->getVectorLoopRegion ()) &&
9516
9512
!Plan->getVectorLoopRegion ()->getEntryBasicBlock ()->empty () &&
9517
9513
" entry block must be set to a VPRegionBlock having a non-empty entry "
You can’t perform that action at this time.
0 commit comments