commit | 838038d3e16d0c319c94fec246d1141b27e0046a | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Fri Mar 01 00:19:14 2013 +0000 |
committer | Andrew Trick <atrick@apple.com> | Fri Mar 01 00:19:14 2013 +0000 |
tree | 98a6fa117e441fe3e1009f571961d9bab0979f65 | |
parent | ebff1d903508155f1b3d906fbc37023094843c1f [diff] [blame] |
Scheduler diagnostics. Print the register name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176316 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ScheduleDAG.cpp b/lib/CodeGen/ScheduleDAG.cpp index 0c40e2b..07e5b47 100644 --- a/lib/CodeGen/ScheduleDAG.cpp +++ b/lib/CodeGen/ScheduleDAG.cpp
@@ -367,6 +367,8 @@ if (I->isArtificial()) dbgs() << " *"; dbgs() << ": Latency=" << I->getLatency(); + if (I->isAssignedRegDep()) + dbgs() << " Reg=" << PrintReg(I->getReg(), G->TRI); dbgs() << "\n"; } }