projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix PR16508.
[oota-llvm.git]
/
lib
/
CodeGen
/
ScheduleDAG.cpp
diff --git
a/lib/CodeGen/ScheduleDAG.cpp
b/lib/CodeGen/ScheduleDAG.cpp
index 0c40e2bf53d2359e66064286cddc1b178c8d3743..07e5b470fb1e8e0ca951086353dddbb0d6f09d56 100644
(file)
--- a/
lib/CodeGen/ScheduleDAG.cpp
+++ b/
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";
}
}