summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-05-10 20:42:02 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-05-10 20:42:02 +0000
commit4aac59cee1e836c26a0fdab8e3659e96cd3378bb (patch)
treeaf19b299daf992d6ca77069454f46b2e3bae2d57
parentd75e451471d0fd8163203c9aa1451cd7f7e6ac28 (diff)
downloadbcm5719-llvm-4aac59cee1e836c26a0fdab8e3659e96cd3378bb.tar.gz
bcm5719-llvm-4aac59cee1e836c26a0fdab8e3659e96cd3378bb.zip
[Simplify] Mark variables as used. NFC.
Mark variables as used that are needed in assertions. llvm-svn: 302725
-rw-r--r--polly/lib/Transform/Simplify.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/polly/lib/Transform/Simplify.cpp b/polly/lib/Transform/Simplify.cpp
index 2f691f40d65..ef20283031e 100644
--- a/polly/lib/Transform/Simplify.cpp
+++ b/polly/lib/Transform/Simplify.cpp
@@ -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);
OpenPOWER on IntegriCloud