[polly] r302725 - [Simplify] Mark variables as used. NFC.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Wed May 10 13:42:02 PDT 2017
Author: meinersbur
Date: Wed May 10 15:42:02 2017
New Revision: 302725
URL: http://llvm.org/viewvc/llvm-project?rev=302725&view=rev
Log:
[Simplify] Mark variables as used. NFC.
Mark variables as used that are needed in assertions.
Modified:
polly/trunk/lib/Transform/Simplify.cpp
Modified: polly/trunk/lib/Transform/Simplify.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/Simplify.cpp?rev=302725&r1=302724&r2=302725&view=diff
==============================================================================
--- polly/trunk/lib/Transform/Simplify.cpp (original)
+++ polly/trunk/lib/Transform/Simplify.cpp Wed May 10 15:42:02 2017
@@ -166,6 +166,7 @@ private:
}
if (auto *Conflicting = hasWriteBetween(&Stmt, RA, WA, WARel)) {
+ (void)Conflicting;
InBetweenStore++;
DEBUG(dbgs() << "Not cleaning up " << WA
<< " because there is another store to the same element "
@@ -186,6 +187,7 @@ private:
DEBUG(dbgs() << "Cleanup of " << WA << ":\n");
DEBUG(dbgs() << " Scalar: " << *AccVal << "\n");
DEBUG(dbgs() << " AccRel: " << AccRel << "\n");
+ (void)AccRel;
Stmt->removeSingleMemoryAccess(WA);
More information about the llvm-commits
mailing list