Silence 'variable unused' warning in release mode
authorTobias Grosser <grosser@fim.uni-passau.de>
Wed, 20 Mar 2013 13:03:25 +0000 (13:03 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Wed, 20 Mar 2013 13:03:25 +0000 (13:03 +0000)
llvm-svn: 177515

polly/lib/CodeGen/Cloog.cpp
polly/lib/CodeGen/IslAst.cpp
polly/lib/CodeGen/IslCodeGeneration.cpp

index b0917ce..9925d47 100644 (file)
@@ -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");
index 0eaa13b..04e02f6 100644 (file)
@@ -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");
index 721596a..83a5884 100644 (file)
@@ -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.");