From c787b12d04f7e93a050a1e1dbd178cfb854d6542 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Tue, 15 Apr 2014 22:18:37 +0000 Subject: [PATCH] Avoid -Wunused-const-variable warning llvm-svn: 206329 --- polly/lib/Transform/IndVarSimplify.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polly/lib/Transform/IndVarSimplify.cpp b/polly/lib/Transform/IndVarSimplify.cpp index ebf35fb634b0..def974c2d01e 100644 --- a/polly/lib/Transform/IndVarSimplify.cpp +++ b/polly/lib/Transform/IndVarSimplify.cpp @@ -61,7 +61,9 @@ STATISTIC(NumElimExt, "Number of IV sign/zero extends eliminated"); 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 {