forked from OSchip/llvm-project
Print out the register class of the current interval.
llvm-svn: 119374
This commit is contained in:
parent
43b3bad58b
commit
7583f68954
|
@ -954,10 +954,11 @@ namespace {
|
||||||
/// assignRegOrStackSlotAtInterval - assign a register if one is available, or
|
/// assignRegOrStackSlotAtInterval - assign a register if one is available, or
|
||||||
/// spill.
|
/// spill.
|
||||||
void RALinScan::assignRegOrStackSlotAtInterval(LiveInterval* cur) {
|
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.
|
// This is an implicitly defined live interval, just assign any register.
|
||||||
const TargetRegisterClass *RC = mri_->getRegClass(cur->reg);
|
|
||||||
if (cur->empty()) {
|
if (cur->empty()) {
|
||||||
unsigned physReg = vrm_->getRegAllocPref(cur->reg);
|
unsigned physReg = vrm_->getRegAllocPref(cur->reg);
|
||||||
if (!physReg)
|
if (!physReg)
|
||||||
|
|
Loading…
Reference in New Issue