Fix ndebug-build unused variable in loop rerolling

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hal Finkel 2013-11-17 01:21:54 +00:00
parent 94437c9691
commit b7dabccbce

View File

@ -276,7 +276,7 @@ protected:
int Idx = PossibleRedIdx[J1];
assert(Idx == PossibleRedIdx[J2] &&
"Recording pair from different reductions?");
Reds.insert(PossibleRedIdx[J1]);
Reds.insert(Idx);
}
}