HomePhabricator

[AMDGPU] Allow spilling FP to memory

Authored by kerbowa on May 7 2020, 2:56 PM.

Description

[AMDGPU] Allow spilling FP to memory

If there are no available lanes in a reserved VGPR, no free SGPR, and no unused CSR
VGPR when trying to save the FP it needs to be spilled to memory as a last
resort. This can be done in the prolog/epilog if we manually add the spill
and manage exec.

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

Details

Committed
kerbowaMay 11 2020, 4:42 PM
Differential Revision
D79610: [AMDGPU] Allow spilling FP to memory
Parents
rGe1ed4d9eb506: Revert "[FileCheck] Make invalid prefix diagnostics more precise"
Branches
Unknown
Tags
Unknown