File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -2082,9 +2082,6 @@ class GeneratedRTChecks {
20822082
20832083 auto *Pred = LoopVectorPreHeader->getSinglePredecessor ();
20842084 BranchInst::Create (LoopVectorPreHeader, SCEVCheckBlock);
2085- // Create new preheader for vector loop.
2086- if (OuterLoop)
2087- OuterLoop->addBasicBlockToLoop (SCEVCheckBlock, *LI);
20882085
20892086 SCEVCheckBlock->getTerminator ()->eraseFromParent ();
20902087 SCEVCheckBlock->moveBefore (LoopVectorPreHeader);
@@ -2122,9 +2119,6 @@ class GeneratedRTChecks {
21222119 DT->changeImmediateDominator (LoopVectorPreHeader, MemCheckBlock);
21232120 MemCheckBlock->moveBefore (LoopVectorPreHeader);
21242121
2125- if (OuterLoop)
2126- OuterLoop->addBasicBlockToLoop (MemCheckBlock, *LI);
2127-
21282122 BranchInst &BI =
21292123 *BranchInst::Create (Bypass, LoopVectorPreHeader, MemRuntimeCheckCond);
21302124 if (AddBranchWeights) {
You can’t perform that action at this time.
0 commit comments