aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 26468c760d..7a868d82a8 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -9488,8 +9488,10 @@ bool InstCombiner::DoOneIteration(Function &F, unsigned Iteration) {
// 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.