diff options
author | David Goodwin <david_goodwin@apple.com> | 2009-08-11 17:35:23 +0000 |
---|---|---|
committer | David Goodwin <david_goodwin@apple.com> | 2009-08-11 17:35:23 +0000 |
commit | c93d8373c93159c590838957b3194900caeb8a03 (patch) | |
tree | 4c5b16bfe9f17d951cc4913a588f1e7063f0c25f /lib/CodeGen/ScheduleDAG.cpp | |
parent | 754bdacf4675a75031ece44aa23f82c000cd1be8 (diff) |
Add some debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ScheduleDAG.cpp')
-rw-r--r-- | lib/CodeGen/ScheduleDAG.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/ScheduleDAG.cpp b/lib/CodeGen/ScheduleDAG.cpp index bc48dc21ab..a7508b5042 100644 --- a/lib/CodeGen/ScheduleDAG.cpp +++ b/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"; } } |