In a future change, we will sometimes use a VGPR offset for doing
spills to memory, in which case we need 2 free VGPRs to do the SGPR
spill. In most cases we could spill the VGPR along with the SGPR being
spilled, but we don't have any free lanes for SGPR_1024 in wave32 so
we could still potentially need a second scavenging slot.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This seems fine to me, but I am slightly confused the description mentions Wave32, but the test is for GFX9 Wave64.
I can clearly see the test exercises the new code, but do we need to also test/implement the Wave32 part?
Comment Actions
The description mentions an alternative strategy which won't always work for wave32, so why it's done this way