aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit6cd8103bea5c0bc92f30b8021e9469131a2a408f (patch)
tree94958bd3958252657c82d26a2904eb5fc9e058e6 /lib/CodeGen/LiveIntervalAnalysis.cpp
parent837be07979723fb05ef47c828da014ce9ed1ba34 (diff)
downloadexternal_llvm-6cd8103bea5c0bc92f30b8021e9469131a2a408f.zip
external_llvm-6cd8103bea5c0bc92f30b8021e9469131a2a408f.tar.gz
external_llvm-6cd8103bea5c0bc92f30b8021e9469131a2a408f.tar.bz2
More consistent labelling of basic blocks in debug output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 56a9c56..4412c1b 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/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;