summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-08-08 21:02:11 +0000
committerJustin Bogner <mail@justinbogner.com>2016-08-08 21:02:11 +0000
commit6b4422e6fe22df3523ac0c9d854eb4d2436d99a3 (patch)
treef47a0577cbc1f0eed3d9971e023bc03943d7f94b
parent0822aa118eafbe860acc393e076567697adda77a (diff)
downloadbcm5719-llvm-6b4422e6fe22df3523ac0c9d854eb4d2436d99a3.tar.gz
bcm5719-llvm-6b4422e6fe22df3523ac0c9d854eb4d2436d99a3.zip
InstCombine: Remove a redundant #ifdef NDEBUG. NFC
The DEBUG() macro already does this. llvm-svn: 278049
-rw-r--r--llvm/lib/Transforms/InstCombine/InstructionCombining.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index 006deb6b5ff..5ee4c45b30e 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -2961,10 +2961,8 @@ bool InstCombiner::run() {
eraseInstFromFunction(*I);
} else {
-#ifndef NDEBUG
DEBUG(dbgs() << "IC: Mod = " << OrigI << '\n'
<< " New = " << *I << '\n');
-#endif
// If the instruction was modified, it's possible that it is now dead.
// if so, remove it.
OpenPOWER on IntegriCloud