diff options
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index db5479b3c4..9aa5fe27da 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -437,9 +437,11 @@ static bool getSCEVStartAndStride(const SCEVHandle &SH, Loop *L, Start = SE->getAddExpr(Start, AddRec->getOperand(0)); +#ifndef NDEBUG if (!isa<SCEVConstant>(AddRec->getOperand(1))) DOUT << "[" << L->getHeader()->getName() << "] Variable stride: " << *AddRec << "\n"; +#endif Stride = AddRec->getOperand(1); return true; |