Adding debug output during coalescing.

llvm-svn: 44154
This commit is contained in:
Bill Wendling 2007-11-15 02:06:30 +00:00
parent 8269925b1e
commit b3712f8146
1 changed files with 1 additions and 0 deletions

View File

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