diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 26468c760d4..7a868d82a85 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.