HomePhabricator

[AMDGPU] Spill CSR VGPR which is reserved for SGPR spills

Authored by kerbowa on Jul 13 2020, 3:38 PM.

Description

[AMDGPU] Spill CSR VGPR which is reserved for SGPR spills

Update logic for reserving VGPR for SGPR spills. A CSR VGPR being reserved for
SGPR spills could be clobbered if there were no free lower VGPR's available.
Create a stack object so that it will be spilled in the prologue. Also
adds more tests.

Differential Revision: https://reviews.llvm.org/D83730

Details

Committed
kerbowaJul 28 2020, 11:53 AM
Differential Revision
D83730: [AMDGPU] Spill CSR VGPR which is reserved for SGPR spills
Parents
rG834133c950fc: [MLIR] Vector store to load forwarding
Branches
Unknown
Tags
Unknown