summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-03-01 00:19:14 +0000
committerAndrew Trick <atrick@apple.com>2013-03-01 00:19:14 +0000
commitf9669beacd83ededd87b2ccdd5c4cdfa397ea714 (patch)
treee3ed04f85ad31198e5eb7b80151cf18a060fae81 /llvm/lib/CodeGen
parent8e897ca393372e288b41314f274cedcb38c82a31 (diff)
downloadbcm5719-llvm-f9669beacd83ededd87b2ccdd5c4cdfa397ea714.tar.gz
bcm5719-llvm-f9669beacd83ededd87b2ccdd5c4cdfa397ea714.zip
Scheduler diagnostics. Print the register name.
llvm-svn: 176316
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/ScheduleDAG.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/ScheduleDAG.cpp b/llvm/lib/CodeGen/ScheduleDAG.cpp
index 0c40e2bf53d..07e5b470fb1 100644
--- 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";
}
}
OpenPOWER on IntegriCloud