summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-20 18:54:59 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-20 18:54:59 +0000
commitb4c14ebfbba559ffe6e3058a381c7966f9029393 (patch)
tree00a234a7d222ae608ec55e826935a2118e769fa2 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent4d119e49f9cc4f312626c7869195253c433b39ea (diff)
downloadbcm5719-llvm-b4c14ebfbba559ffe6e3058a381c7966f9029393.tar.gz
bcm5719-llvm-b4c14ebfbba559ffe6e3058a381c7966f9029393.zip
More consistent labelling of basic blocks in debug output
llvm-svn: 89470
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 56a9c561244..4412c1b020a 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -136,7 +136,8 @@ void LiveIntervals::printInstrs(raw_ostream &OS) const {
for (MachineFunction::iterator mbbi = mf_->begin(), mbbe = mf_->end();
mbbi != mbbe; ++mbbi) {
- OS << mbbi->getName() << ":\n";
+ OS << "BB#" << mbbi->getNumber()
+ << ":\t\t# derived from " << mbbi->getName() << "\n";
for (MachineBasicBlock::iterator mii = mbbi->begin(),
mie = mbbi->end(); mii != mie; ++mii) {
OS << getInstructionIndex(mii) << '\t' << *mii;
OpenPOWER on IntegriCloud