[llvm-commits] [llvm] r64575 - /llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Evan Cheng evan.cheng at apple.com
Sat Feb 14 19:20:37 PST 2009


Author: evancheng
Date: Sat Feb 14 21:20:37 2009
New Revision: 64575

URL: http://llvm.org/viewvc/llvm-project?rev=64575&view=rev
Log:
ifdef out unneeded if statement.

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=64575&r1=64574&r2=64575&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Sat Feb 14 21:20:37 2009
@@ -437,9 +437,11 @@
 
   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;





More information about the llvm-commits mailing list