[llvm] r176316 - Scheduler diagnostics. Print the register name.
Andrew Trick
atrick at apple.com
Thu Feb 28 16:19:14 PST 2013
Author: atrick
Date: Thu Feb 28 18:19:14 2013
New Revision: 176316
URL: http://llvm.org/viewvc/llvm-project?rev=176316&view=rev
Log:
Scheduler diagnostics. Print the register name.
Modified:
llvm/trunk/lib/CodeGen/ScheduleDAG.cpp
Modified: llvm/trunk/lib/CodeGen/ScheduleDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ScheduleDAG.cpp?rev=176316&r1=176315&r2=176316&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/ScheduleDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/ScheduleDAG.cpp Thu Feb 28 18:19:14 2013
@@ -367,6 +367,8 @@ void SUnit::dumpAll(const ScheduleDAG *G
if (I->isArtificial())
dbgs() << " *";
dbgs() << ": Latency=" << I->getLatency();
+ if (I->isAssignedRegDep())
+ dbgs() << " Reg=" << PrintReg(I->getReg(), G->TRI);
dbgs() << "\n";
}
}
More information about the llvm-commits
mailing list