From 80e201b8db86a88249b89527a2c7f098237925d3 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 4 Dec 2008 02:15:26 +0000 Subject: [PATCH] Use register names instead of numbers in debug output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60525 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/PostRASchedulerList.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp index a035c180f8f..ec56feaff96 100644 --- a/lib/CodeGen/PostRASchedulerList.cpp +++ b/lib/CodeGen/PostRASchedulerList.cpp @@ -428,9 +428,10 @@ bool SchedulePostRATDList::BreakAntiDependencies() { "Kill and Def maps aren't consistent for NewReg!"); if (KillIndices[NewReg] == -1u && KillIndices[AntiDepReg] <= DefIndices[NewReg]) { - DOUT << "Breaking anti-dependence edge on reg " << AntiDepReg + DOUT << "Breaking anti-dependence edge on " + << TRI->getName(AntiDepReg) << " with " << RegRefs.count(AntiDepReg) << " references" - << " with new reg " << NewReg << "!\n"; + << " using " << TRI->getName(NewReg) << "!\n"; // Update the references to the old register to refer to the new // register. -- 2.34.1