mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Print out register class of spilled register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f74a429816
commit
7d57753df3
@ -352,10 +352,12 @@ void InlineSpiller::spill(LiveInterval *li,
|
|||||||
|
|
||||||
void InlineSpiller::spill(LiveRangeEdit &edit) {
|
void InlineSpiller::spill(LiveRangeEdit &edit) {
|
||||||
edit_ = &edit;
|
edit_ = &edit;
|
||||||
DEBUG(dbgs() << "Inline spilling " << edit.getParent() << "\n");
|
assert(!edit.getParent().isStackSlot() && "Trying to spill a stack slot.");
|
||||||
|
DEBUG(dbgs() << "Inline spilling "
|
||||||
|
<< mri_.getRegClass(edit.getReg())->getName()
|
||||||
|
<< ':' << edit.getParent() << "\n");
|
||||||
assert(edit.getParent().isSpillable() &&
|
assert(edit.getParent().isSpillable() &&
|
||||||
"Attempting to spill already spilled value.");
|
"Attempting to spill already spilled value.");
|
||||||
assert(!edit.getParent().isStackSlot() && "Trying to spill a stack slot.");
|
|
||||||
|
|
||||||
if (split())
|
if (split())
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user