From f9669beacd83ededd87b2ccdd5c4cdfa397ea714 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Fri, 1 Mar 2013 00:19:14 +0000 Subject: [PATCH] Scheduler diagnostics. Print the register name. llvm-svn: 176316 --- llvm/lib/CodeGen/ScheduleDAG.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/CodeGen/ScheduleDAG.cpp b/llvm/lib/CodeGen/ScheduleDAG.cpp index 0c40e2b..07e5b47 100644 --- a/llvm/lib/CodeGen/ScheduleDAG.cpp +++ b/llvm/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"; } } -- 2.7.4