projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix an unused variable warning in release builds.
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
LoopStrengthReduce.cpp
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index dfa1e27b6574609eb438a0a7cbf7dbd01f5af01a..3efea34cc175d659c71b9a9703d4ee2bdc7a333e 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-4847,6
+4847,7
@@
LSRInstance::LSRInstance(Loop *L, Pass *P)
unsigned NumUsers = 0;
for (const IVStrideUse &U : IU) {
if (++NumUsers > MaxIVUsers) {
+ (void)U;
DEBUG(dbgs() << "LSR skipping loop, too many IV Users in " << U << "\n");
return;
}