From b3712f8146ece9a87a771c4d67e897c5833770ef Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 15 Nov 2007 02:06:30 +0000 Subject: [PATCH] Adding debug output during coalescing. llvm-svn: 44154 --- llvm/lib/CodeGen/RegAllocLinearScan.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index 9f08b1db09f7..bc9febff59a9 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -233,6 +233,7 @@ unsigned RALinScan::attemptTrivialCoalescing(LiveInterval &cur, unsigned Reg) { // Try to coalesce. if (!li_->conflictsWithPhysRegDef(cur, *vrm_, SrcReg)) { + DOUT << "Coalescing: " << cur << " -> " << mri_->getName(SrcReg) << '\n'; vrm_->clearVirt(cur.reg); vrm_->assignVirt2Phys(cur.reg, SrcReg); ++NumCoalesce;