From: Bill Wendling Date: Thu, 15 Nov 2007 02:06:30 +0000 (+0000) Subject: Adding debug output during coalescing. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5b8318a1a4819131decb95b9b2be844d678d7a9e;p=oota-llvm.git Adding debug output during coalescing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44154 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index 9f08b1db09f..bc9febff59a 100644 --- a/lib/CodeGen/RegAllocLinearScan.cpp +++ b/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;