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:
ebff1d9
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176316
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/ScheduleDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/ScheduleDAG.cpp
b/lib/CodeGen/ScheduleDAG.cpp
index 0c40e2bf53d2359e66064286cddc1b178c8d3743..07e5b470fb1e8e0ca951086353dddbb0d6f09d56 100644
(file)
--- a/
lib/CodeGen/ScheduleDAG.cpp
+++ b/
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";
}
}