[polly] r177515 - Silence 'variable unused' warning in release mode
Tobias Grosser
grosser at fim.uni-passau.de
Wed Mar 20 06:03:25 PDT 2013
Author: grosser
Date: Wed Mar 20 08:03:25 2013
New Revision: 177515
URL: http://llvm.org/viewvc/llvm-project?rev=177515&view=rev
Log:
Silence 'variable unused' warning in release mode
Modified:
polly/trunk/lib/CodeGen/Cloog.cpp
polly/trunk/lib/CodeGen/IslAst.cpp
polly/trunk/lib/CodeGen/IslCodeGeneration.cpp
Modified: polly/trunk/lib/CodeGen/Cloog.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/Cloog.cpp?rev=177515&r1=177514&r2=177515&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/Cloog.cpp (original)
+++ polly/trunk/lib/CodeGen/Cloog.cpp Wed Mar 20 08:03:25 2013
@@ -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");
Modified: polly/trunk/lib/CodeGen/IslAst.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/IslAst.cpp?rev=177515&r1=177514&r2=177515&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/IslAst.cpp (original)
+++ polly/trunk/lib/CodeGen/IslAst.cpp Wed Mar 20 08:03:25 2013
@@ -326,6 +326,7 @@ IslAst::IslAst(Scop *Scop, Dependences &
isl_union_map *Schedule = getSchedule();
Function *F = Scop->getRegion().getEntry()->getParent();
+ (void)F;
DEBUG(dbgs() << ":: isl ast :: " << F->getName()
<< " :: " << Scop->getRegion().getNameStr() << "\n");
Modified: polly/trunk/lib/CodeGen/IslCodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/IslCodeGeneration.cpp?rev=177515&r1=177514&r2=177515&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/IslCodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/IslCodeGeneration.cpp Wed Mar 20 08:03:25 2013
@@ -126,6 +126,7 @@ void RuntimeDebugBuilder::createStrPrint
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.");
More information about the llvm-commits
mailing list