From 1d77a0ff884b976e9ceecfb5bdcaec3a08586311 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 21 Aug 2006 23:03:54 +0000 Subject: Print physreg names symbolically in dumps llvm-svn: 29805 --- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp') diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index f1f608d2713..e5128558e34 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -735,8 +735,9 @@ void LiveIntervals::joinIntervalsInMachineBB(MachineBasicBlock *MBB) { assert(SrcInt.reg == SrcReg && DestInt.reg == DestReg && "Register mapping is horribly broken!"); - DEBUG(std::cerr << "\t\tInspecting " << SrcInt << " and " << DestInt - << ": "); + DEBUG(std::cerr << "\t\tInspecting "; SrcInt.print(std::cerr, mri_); + std::cerr << " and "; DestInt.print(std::cerr, mri_); + std::cerr << ": "); // If two intervals contain a single value and are joined by a copy, it // does not matter if the intervals overlap, they can always be joined. -- cgit v1.2.3