projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e897ca
)
Scheduler diagnostics. Print the register name.
author
Andrew Trick
<atrick@apple.com>
Fri, 1 Mar 2013 00:19:14 +0000
(
00:19
+0000)
committer
Andrew Trick
<atrick@apple.com>
Fri, 1 Mar 2013 00:19:14 +0000
(
00:19
+0000)
llvm-svn: 176316
llvm/lib/CodeGen/ScheduleDAG.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/ScheduleDAG.cpp
b/llvm/lib/CodeGen/ScheduleDAG.cpp
index
0c40e2b
..
07e5b47
100644
(file)
--- a/
llvm/lib/CodeGen/ScheduleDAG.cpp
+++ b/
llvm/lib/CodeGen/ScheduleDAG.cpp
@@
-367,6
+367,8
@@
void SUnit::dumpAll(const ScheduleDAG *G) const {
if (I->isArtificial())
dbgs() << " *";
dbgs() << ": Latency=" << I->getLatency();
+ if (I->isAssignedRegDep())
+ dbgs() << " Reg=" << PrintReg(I->getReg(), G->TRI);
dbgs() << "\n";
}
}