summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2013-03-20 13:03:25 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2013-03-20 13:03:25 +0000
commit0fbbbf6aa73dae363fd9ab49553704f5ae90b2d9 (patch)
tree64c01a089bbd88d4259f8e78a541cfc96a4c52e6
parentd1ae3588c66089564abdbc30a1b020dbbf50ae99 (diff)
downloadbcm5719-llvm-0fbbbf6aa73dae363fd9ab49553704f5ae90b2d9.tar.gz
bcm5719-llvm-0fbbbf6aa73dae363fd9ab49553704f5ae90b2d9.zip
Silence 'variable unused' warning in release mode
llvm-svn: 177515
-rw-r--r--polly/lib/CodeGen/Cloog.cpp1
-rw-r--r--polly/lib/CodeGen/IslAst.cpp1
-rw-r--r--polly/lib/CodeGen/IslCodeGeneration.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/polly/lib/CodeGen/Cloog.cpp b/polly/lib/CodeGen/Cloog.cpp
index b0917cedfd0..9925d47d721 100644
--- a/polly/lib/CodeGen/Cloog.cpp
+++ b/polly/lib/CodeGen/Cloog.cpp
@@ -330,6 +330,7 @@ bool CloogInfo::runOnScop(Scop &S) {
C = new Cloog(&S);
Function *F = S.getRegion().getEntry()->getParent();
+ (void)F;
DEBUG(dbgs() << ":: " << F->getName());
DEBUG(dbgs() << " : " << S.getRegion().getNameStr() << "\n");
diff --git a/polly/lib/CodeGen/IslAst.cpp b/polly/lib/CodeGen/IslAst.cpp
index 0eaa13b4f38..04e02f6700c 100644
--- a/polly/lib/CodeGen/IslAst.cpp
+++ b/polly/lib/CodeGen/IslAst.cpp
@@ -326,6 +326,7 @@ IslAst::IslAst(Scop *Scop, Dependences &D) : S(Scop) {
isl_union_map *Schedule = getSchedule();
Function *F = Scop->getRegion().getEntry()->getParent();
+ (void)F;
DEBUG(dbgs() << ":: isl ast :: " << F->getName()
<< " :: " << Scop->getRegion().getNameStr() << "\n");
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp
index 721596abdbb..83a5884e767 100644
--- a/polly/lib/CodeGen/IslCodeGeneration.cpp
+++ b/polly/lib/CodeGen/IslCodeGeneration.cpp
@@ -126,6 +126,7 @@ void RuntimeDebugBuilder::createStrPrinter(std::string String) {
void RuntimeDebugBuilder::createIntPrinter(Value *V) {
IntegerType *Ty = dyn_cast<IntegerType>(V->getType());
+ (void)Ty;
assert(Ty && Ty->getBitWidth() == 64 &&
"Cannot insert printer for this type.");
OpenPOWER on IntegriCloud