Scheduler diagnostics. Print the register name.

llvm-svn: 176316
This commit is contained in:
Andrew Trick 2013-03-01 00:19:14 +00:00
parent e602ffc5f9
commit 811a199b6a

View File

@ -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";
}
}