projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
837be07
)
More consistent labelling of basic blocks in debug output
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 20 Nov 2009 18:54:59 +0000
(18:54 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 20 Nov 2009 18:54:59 +0000
(18:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89470
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 56a9c561244dd1895205452384d4bd9b686bbbb7..4412c1b020a443ff0f5ef944246383776b4e3875 100644
(file)
--- 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;