summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ScheduleDAG.cpp
diff options
context:
space:
mode:
authorDavid Goodwin <david_goodwin@apple.com>2009-08-11 17:35:23 +0000
committerDavid Goodwin <david_goodwin@apple.com>2009-08-11 17:35:23 +0000
commitebd694bb0a55261584a988687b1b73a84ac50f85 (patch)
tree37159a3c8133129e4a420e4c08cf386743a4673c /llvm/lib/CodeGen/ScheduleDAG.cpp
parent0334d91a4ac678a22151b4cd1dbc12f6cb9e2684 (diff)
downloadbcm5719-llvm-ebd694bb0a55261584a988687b1b73a84ac50f85.tar.gz
bcm5719-llvm-ebd694bb0a55261584a988687b1b73a84ac50f85.zip
Add some debug output.
llvm-svn: 78687
Diffstat (limited to 'llvm/lib/CodeGen/ScheduleDAG.cpp')
-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 bc48dc21ab1..a7508b5042d 100644
--- a/llvm/lib/CodeGen/ScheduleDAG.cpp
+++ b/llvm/lib/CodeGen/ScheduleDAG.cpp
@@ -285,6 +285,7 @@ void SUnit::dumpAll(const ScheduleDAG *G) const {
errs() << I->getSUnit() << " - SU(" << I->getSUnit()->NodeNum << ")";
if (I->isArtificial())
errs() << " *";
+ errs() << ": Latency=" << I->getLatency();
errs() << "\n";
}
}
@@ -303,6 +304,7 @@ void SUnit::dumpAll(const ScheduleDAG *G) const {
errs() << I->getSUnit() << " - SU(" << I->getSUnit()->NodeNum << ")";
if (I->isArtificial())
errs() << " *";
+ errs() << ": Latency=" << I->getLatency();
errs() << "\n";
}
}
OpenPOWER on IntegriCloud