[polly] r206329 - Avoid -Wunused-const-variable warning

Tobias Grosser tobias at grosser.es
Tue Apr 15 15:18:38 PDT 2014


Author: grosser
Date: Tue Apr 15 17:18:37 2014
New Revision: 206329

URL: http://llvm.org/viewvc/llvm-project?rev=206329&view=rev
Log:
Avoid -Wunused-const-variable warning

Modified:
    polly/trunk/lib/Transform/IndVarSimplify.cpp

Modified: polly/trunk/lib/Transform/IndVarSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/IndVarSimplify.cpp?rev=206329&r1=206328&r2=206329&view=diff
==============================================================================
--- polly/trunk/lib/Transform/IndVarSimplify.cpp (original)
+++ polly/trunk/lib/Transform/IndVarSimplify.cpp Tue Apr 15 17:18:37 2014
@@ -61,7 +61,9 @@ STATISTIC(NumElimExt, "Number of IV sign
 STATISTIC(NumElimIV, "Number of congruent IVs eliminated");
 
 static const bool EnableIVRewrite = true;
+#ifndef NDEBUG
 static const bool VerifyIndvars = false;
+#endif
 
 namespace {
 class PollyIndVarSimplify : public LoopPass {





More information about the llvm-commits mailing list