Displaying 4 results from an estimated 4 matches for "storeregtostack".
2016 Mar 14
2
Inline Spiller spilling multiple duplicate copies
...the bundle loop.
>
> Is this intentional?
>
> On Mon, Mar 7, 2016 at 3:28 PM, Ryan Taylor <ryta1203 at gmail.com <mailto:ryta1203 at gmail.com>> wrote:
> Looks like spillAroundUses is spilling multiple duplicate copies to the stack, for example, with some regs we get 1 storeRegToStack call, for others we get multiple (2-6+) and then these instructions are never eliminated.
>
> Looking at spillAroundUses it looks like multiple duplicate COPYs are being generated, why? One for each use?
We need a new virtual register for each use to have an independent coloring for each of...
2016 Mar 07
2
Inline Spiller spilling multiple duplicate copies
Looks like spillAroundUses is spilling multiple duplicate copies to the
stack, for example, with some regs we get 1 storeRegToStack call, for
others we get multiple (2-6+) and then these instructions are never
eliminated.
Looking at spillAroundUses it looks like multiple duplicate COPYs are being
generated, why? One for each use?
The reg_bundle holds these multiple copies so that we are iterating over
the same exact COPY inst...
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 eliminat...
2019 Dec 18
2
Spilling to register for a given register class
...:47 PM, Hendrik 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
> registe...