File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -6819,7 +6819,6 @@ class HorizontalReduction {
6819
6819
FastMathFlags Unsafe;
6820
6820
Unsafe.setFast ();
6821
6821
Builder.setFastMathFlags (Unsafe);
6822
- unsigned i = 0 ;
6823
6822
6824
6823
BoUpSLP::ExtraValueToDebugLocsMap ExternallyUsedValues;
6825
6824
// The same extra argument may be used several time, so log each attempt
@@ -6847,6 +6846,7 @@ class HorizontalReduction {
6847
6846
for (ReductionOpsType &RdxOp : ReductionOps)
6848
6847
IgnoreList.append (RdxOp.begin (), RdxOp.end ());
6849
6848
6849
+ unsigned i = 0 ;
6850
6850
while (i < NumReducedVals - ReduxWidth + 1 && ReduxWidth > 2 ) {
6851
6851
auto VL = makeArrayRef (&ReducedVals[i], ReduxWidth);
6852
6852
V.buildTree (VL, ExternallyUsedValues, IgnoreList);
You can’t perform that action at this time.
0 commit comments