[AMDGPU] Invert partial vgpr to agpr spill lane order
On targets requiring VGPR alignment we may end up spilling an unaligned register if we were partially spilled odd number of leading lanes. The reminder will start with an odd register. This problem is solved by inverting the order of lanes to be spillied so that we start from the end. Differential Revision: https://reviews.llvm.org/D108732
Loading
Please sign in to comment