projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix ndebug-build unused variable in loop rerolling
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
LoopRerollPass.cpp
diff --git
a/lib/Transforms/Scalar/LoopRerollPass.cpp
b/lib/Transforms/Scalar/LoopRerollPass.cpp
index eb39cd097154981b9657d938eec477e9f94e7dea..335af81b957a63a70a3e3688b5ff3cc18e7cd168 100644
(file)
--- a/
lib/Transforms/Scalar/LoopRerollPass.cpp
+++ b/
lib/Transforms/Scalar/LoopRerollPass.cpp
@@
-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
);
}
}