Displaying 2 results from an estimated 2 matches for "loadregfromstack".
2019 Dec 17
2
Spilling to register for a given register class
Hello, for an architecture that doesn't have a good way to load/store a
given register class to memory, is it instead easy to spill/fill from
another register class instead?
e.g.
- storeRegToStack/loadRegFromStack use a pseudo instruction and add virtual
register operand is not supported (spill optimization doesn't seem to like
this).
- AMDGPU backend seems to do sth. similar?
The only way to safely do it seems to use register scavenger to get a temp
register, and spill this in eliminateFrameIndex? Is t...
2019 Dec 18
2
Spilling to register for a given register class
...Greving via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
> Hello, for an architecture that doesn't have a good way to load/store a
> given register class to memory, is it instead easy to spill/fill from
> another register class instead?
> e.g.
> - storeRegToStack/loadRegFromStack use a pseudo instruction and add
> virtual register operand is not supported (spill optimization doesn't seem
> to like this).
> - AMDGPU backend seems to do sth. similar?
>
> The only way to safely do it seems to use register scavenger to get a temp
> register, and spill this...