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
This commit is contained in:
Dan Gohman 2008-12-04 02:15:26 +00:00
parent b29ffc8870
commit 80e201b8db

View File

@ -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.