mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
Print out the register class of the current interval.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5a0a7ced12
commit
fd900a2c07
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user