[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

Evan Cheng evan.cheng at apple.com
Tue Mar 27 09:45:06 PDT 2007



Changes in directory llvm/lib/Transforms/Scalar:

InstructionCombining.cpp updated: 1.697 -> 1.698
---
Log message:

Unbreaks non-debug builds.

---
Diffs of the changes:  (+2 -0)

 InstructionCombining.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.697 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.698
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.697	Mon Mar 26 18:58:26 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp	Tue Mar 27 11:44:48 2007
@@ -9488,8 +9488,10 @@
         // Erase the old instruction.
         InstParent->getInstList().erase(I);
       } else {
+#ifndef NDEBUG
         DOUT << "IC: Mod = " << OrigI
              << "    New = " << *I;
+#endif
 
         // If the instruction was modified, it's possible that it is now dead.
         // if so, remove it.






More information about the llvm-commits mailing list