[llvm] r321604 - [Utils] Remove commented debug message. NFCI.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 31 08:48:44 PST 2017
Author: davide
Date: Sun Dec 31 08:48:44 2017
New Revision: 321604
URL: http://llvm.org/viewvc/llvm-project?rev=321604&view=rev
Log:
[Utils] Remove commented debug message. NFCI.
Modified:
llvm/trunk/lib/Transforms/Utils/Local.cpp
Modified: llvm/trunk/lib/Transforms/Utils/Local.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/Local.cpp?rev=321604&r1=321603&r2=321604&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/Local.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/Local.cpp Sun Dec 31 08:48:44 2017
@@ -116,10 +116,6 @@ bool llvm::ConstantFoldTerminator(BasicB
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);
More information about the llvm-commits
mailing list