Skip to content

Commit f9fc6f6

Browse files
committed
[SLP] Remove dead initialization noticed by static analyser. NFC.
1 parent 35bfbb3 commit f9fc6f6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17443,7 +17443,6 @@ class HorizontalReduction {
1744317443
// Iterate through all not-vectorized reduction values/extra arguments.
1744417444
bool InitStep = true;
1744517445
while (ExtraReductions.size() > 1) {
17446-
VectorizedTree = ExtraReductions.front().second;
1744717446
SmallVector<std::pair<Instruction *, Value *>> NewReds =
1744817447
FinalGen(ExtraReductions, InitStep);
1744917448
ExtraReductions.swap(NewReds);

0 commit comments

Comments
 (0)