Displaying 3 results from an estimated 3 matches for "virtual_regist".
Did you mean:
virtual_register
2006 May 23
4
[LLVMdev] Spilling register and frame indices
...register.
The lifetimes of those 'some_register' is likely to be very small (1
instruction), so "reserving" it everywhere is not good.
Ideal approach would be to add a method to MRegisterInfo to spill specific
virtual register. The implementation can then create code like:
virtual_register = frame_pointer + offset
[virtual_register]
and then have 'virtual_register' allocated on next iteration of register
allocator?
Also, while RegAllocLocal and RegAllocSimple directly call
storeRegToStackSlot, I would not found any calls to that method in
RegAllocLinearScan. Am I...
2006 May 23
0
[LLVMdev] Spilling register and frame indices
...of those 'some_register' is likely to be very small (1
> instruction), so "reserving" it everywhere is not good.
>
> Ideal approach would be to add a method to MRegisterInfo to spill specific
> virtual register. The implementation can then create code like:
>
> virtual_register = frame_pointer + offset
> [virtual_register]
>
> and then have 'virtual_register' allocated on next iteration of register
> allocator?
This is one approach. Another approach is to have to spiller scavange
registers, which is the subject of this enhancement request:...
2006 May 24
1
[LLVMdev] Re: Spilling register and frame indices
Chris Lattner wrote:
>> and then have 'virtual_register' allocated on next iteration of register
>> allocator?
>
> This is one approach. Another approach is to have to spiller scavange
> registers, which is the subject of this enhancement request:
> http://llvm.org/PR768
Can you given some references for this "scavange&qu...