Skip to content

Commit 8a8a810

Browse files
authored
[SLP][NFC] Remove unused local variable in lambda (#156835)
1 parent c691726 commit 8a8a810

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11287,9 +11287,6 @@ void BoUpSLP::buildTreeRec(ArrayRef<Value *> VLRef, unsigned Depth,
1128711287
if (!canBuildSplitNode(VL, LocalState, Op1, Op2, ReorderIndices))
1128811288
return false;
1128911289

11290-
SmallVector<Value *> NewVL(VL.size());
11291-
copy(Op1, NewVL.begin());
11292-
copy(Op2, std::next(NewVL.begin(), Op1.size()));
1129311290
auto Invalid = ScheduleBundle::invalid();
1129411291
auto *TE = newTreeEntry(VL, TreeEntry::SplitVectorize, Invalid, LocalState,
1129511292
UserTreeIdx, {}, ReorderIndices);

0 commit comments

Comments
 (0)