forked from OSchip/llvm-project
Fix an unused variable warning in release builds.
llvm-svn: 238094
This commit is contained in:
parent
77b9941ab9
commit
37d0d866f4
|
@ -4847,6 +4847,7 @@ LSRInstance::LSRInstance(Loop *L, Pass *P)
|
||||||
unsigned NumUsers = 0;
|
unsigned NumUsers = 0;
|
||||||
for (const IVStrideUse &U : IU) {
|
for (const IVStrideUse &U : IU) {
|
||||||
if (++NumUsers > MaxIVUsers) {
|
if (++NumUsers > MaxIVUsers) {
|
||||||
|
(void)U;
|
||||||
DEBUG(dbgs() << "LSR skipping loop, too many IV Users in " << U << "\n");
|
DEBUG(dbgs() << "LSR skipping loop, too many IV Users in " << U << "\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue