Displaying 2 results from an estimated 2 matches for "spillliveinterval".
2007 Aug 06
5
[LLVMdev] Spillers
...spill a virtual register have been mapped to physical
registers. Why is this so? This puts a constraint on register allocation
that is potentially bad.
For example, the prototype graph coloring allocator posted by Bill W. some
time ago has this code in it (the **** comments are my own):
/// SpillLiveInterval - Assign a live interval to a stack slot.
///
void RegAlloc::SpillLiveInterval(LiveInterval* LI) {
[...]
int Slot = VRM->assignVirt2StackSlot(LI->reg);
DEBUG(std::cerr << "Spilling " << *LI << " into slot " << Slot << "\n");
s...
2007 Aug 07
0
[LLVMdev] Spillers
...in).
So to sum up. The code in VirtMap is not really performing the
spilling. It's mostly just doing the rewrite.
Evan
>
> For example, the prototype graph coloring allocator posted by Bill
> W. some
> time ago has this code in it (the **** comments are my own):
>
> /// SpillLiveInterval - Assign a live interval to a stack slot.
> ///
> void RegAlloc::SpillLiveInterval(LiveInterval* LI) {
> [...]
> int Slot = VRM->assignVirt2StackSlot(LI->reg);
> DEBUG(std::cerr << "Spilling " << *LI << " into slot " << Slot <&...