summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ScheduleDAG.cpp
diff options
context:
space:
mode:
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