Print out the register class of the current interval.

llvm-svn: 119374
This commit is contained in:
Jakob Stoklund Olesen 2010-11-16 19:55:12 +00:00
parent 43b3bad58b
commit 7583f68954
1 changed files with 3 additions and 2 deletions

View File

@ -954,10 +954,11 @@ namespace {
/// assignRegOrStackSlotAtInterval - assign a register if one is available, or
/// spill.
void RALinScan::assignRegOrStackSlotAtInterval(LiveInterval* cur) {
DEBUG(dbgs() << "\tallocating current interval: ");
const TargetRegisterClass *RC = mri_->getRegClass(cur->reg);
DEBUG(dbgs() << "\tallocating current interval from "
<< RC->getName() << ": ");
// This is an implicitly defined live interval, just assign any register.
const TargetRegisterClass *RC = mri_->getRegClass(cur->reg);
if (cur->empty()) {
unsigned physReg = vrm_->getRegAllocPref(cur->reg);
if (!physReg)