summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-12-31 16:48:44 +0000
committerDavide Italiano <davide@freebsd.org>2017-12-31 16:48:44 +0000
commit5dd1c587e753a77446bef8d40897ee7b5e6c46fd (patch)
treea76cd91b099d68fa1e56b79c8bf103b39317d0fb /llvm/lib/Transforms/Utils/Local.cpp
parent9f074fe915c35e352962cfdc9a253b2985a64c9e (diff)
downloadbcm5719-llvm-5dd1c587e753a77446bef8d40897ee7b5e6c46fd.tar.gz
bcm5719-llvm-5dd1c587e753a77446bef8d40897ee7b5e6c46fd.zip
[Utils] Remove commented debug message. NFCI.
llvm-svn: 321604
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index a1961eecb39..cfbe11ee953 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/lib/Transforms/Utils/Local.cpp
@@ -116,10 +116,6 @@ bool llvm::ConstantFoldTerminator(BasicBlock *BB, bool DeleteDeadConditions,
BasicBlock *Destination = Cond->getZExtValue() ? Dest1 : Dest2;
BasicBlock *OldDest = Cond->getZExtValue() ? Dest2 : Dest1;
- //cerr << "Function: " << T->getParent()->getParent()
- // << "\nRemoving branch from " << T->getParent()
- // << "\n\nTo: " << OldDest << endl;
-
// Let the basic block know that we are letting go of it. Based on this,
// it will adjust it's PHI nodes.
OldDest->removePredecessor(BB);
OpenPOWER on IntegriCloud