Skip to content

Commit fc99f5c

Browse files
author
Hal Finkel
committed
Fix ndebug-build unused variable in loop rerolling
llvm-svn: 194941
1 parent c7479f2 commit fc99f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/LoopRerollPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ namespace {
276276
int Idx = PossibleRedIdx[J1];
277277
assert(Idx == PossibleRedIdx[J2] &&
278278
"Recording pair from different reductions?");
279-
Reds.insert(PossibleRedIdx[J1]);
279+
Reds.insert(Idx);
280280
}
281281
}
282282

0 commit comments

Comments
 (0)