diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-01-23 21:01:11 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-01-23 21:01:11 +0000 |
commit | 39f66601938e88a4e287986fab58a0d5053f8f8e (patch) | |
tree | eb7b23574e4d81da5553360b83c0557815aeeeee /lib | |
parent | 3e08131185d5b3245065eb027900aed56b607970 (diff) | |
download | external_llvm-39f66601938e88a4e287986fab58a0d5053f8f8e.zip external_llvm-39f66601938e88a4e287986fab58a0d5053f8f8e.tar.gz external_llvm-39f66601938e88a4e287986fab58a0d5053f8f8e.tar.bz2 |
Simplify debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/MachineLICM.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp index 30c93f8..b9028ec 100644 --- a/lib/CodeGen/MachineLICM.cpp +++ b/lib/CodeGen/MachineLICM.cpp @@ -582,16 +582,8 @@ void MachineLICM::HoistPostRA(MachineInstr *MI, unsigned Def) { // Now move the instructions to the predecessor, inserting it before any // terminator instructions. - DEBUG({ - dbgs() << "Hoisting " << *MI; - if (Preheader->getBasicBlock()) - dbgs() << " to MachineBasicBlock " - << Preheader->getName(); - if (MI->getParent()->getBasicBlock()) - dbgs() << " from MachineBasicBlock " - << MI->getParent()->getName(); - dbgs() << "\n"; - }); + DEBUG(dbgs() << "Hoisting to BB#" << Preheader->getNumber() << " from BB#" + << MI->getParent()->getNumber() << ": " << *MI); // Splice the instruction to the preheader. MachineBasicBlock *MBB = MI->getParent(); |