File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -552,18 +552,10 @@ VPBasicBlock *VPBasicBlock::splitAt(iterator SplitAt) {
552
552
" can only split at a position in the same block" );
553
553
554
554
SmallVector<VPBlockBase *, 2 > Succs (successors ());
555
- // First, disconnect the current block from its successors.
556
- for (VPBlockBase *Succ : Succs)
557
- VPBlockUtils::disconnectBlocks (this , Succ);
558
-
559
555
// Create new empty block after the block to split.
560
556
auto *SplitBlock = new VPBasicBlock (getName () + " .split" );
561
557
VPBlockUtils::insertBlockAfter (SplitBlock, this );
562
558
563
- // Add successors for block to split to new block.
564
- for (VPBlockBase *Succ : Succs)
565
- VPBlockUtils::connectBlocks (SplitBlock, Succ);
566
-
567
559
// Finally, move the recipes starting at SplitAt to new block.
568
560
for (VPRecipeBase &ToMove :
569
561
make_early_inc_range (make_range (SplitAt, this ->end ())))
You can’t perform that action at this time.
0 commit comments