[all-commits] [llvm/llvm-project] 09253b: [AMDGPU] Allow spilling FP to memory

Austin Kerbow via All-commits all-commits at lists.llvm.org
Mon May 11 16:44:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 09253b608a52645e618810e2d5e5a3f3471980b2
      https://github.com/llvm/llvm-project/commit/09253b608a52645e618810e2d5e5a3f3471980b2
  Author: Austin Kerbow <Austin.Kerbow at amd.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list