Skip to content

Commit 3026c13

Browse files
committed
[SLP][NFC]Remove commented out code, NFC.
1 parent 5532d67 commit 3026c13

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10903,13 +10903,7 @@ Value *BoUpSLP::vectorizeTree(TreeEntry *E, bool PostponedPHIs) {
1090310903
continue;
1090410904
}
1090510905

10906-
// if (any_of(E->getOperand(i), [&](Value *V) {
10907-
// auto *I = dyn_cast<Instruction>(V);
10908-
// return I && I->getParent() == IBB;
10909-
// }))
10910-
Builder.SetInsertPoint(IBB->getTerminator());
10911-
// else
10912-
// Builder.SetInsertPoint(IBB->getFirstNonPHIOrDbgOrLifetime());
10906+
Builder.SetInsertPoint(IBB->getTerminator());
1091310907
Builder.SetCurrentDebugLocation(PH->getDebugLoc());
1091410908
Value *Vec = vectorizeOperand(E, i, /*PostponedPHIs=*/true);
1091510909
NewPhi->addIncoming(Vec, IBB);

0 commit comments

Comments
 (0)