[PATCH] D106758: [AMDGPU] We would need FP if there is call and caller save VGPR spills

Venkata Ramanaiah Nalamothu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 24 14:11:18 PDT 2021


RamNalamothu created this revision.
RamNalamothu added reviewers: arsenm, scott.linder, t-tye, ruiling.
Herald added subscribers: foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, qcolombet.
RamNalamothu requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Since https://reviews.llvm.org/D98319, determineCalleeSavesSGPR() needs
to consider caller save VGPR spills as well while anticipating if we
require FP.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106758

Files:
  llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
  llvm/test/CodeGen/AMDGPU/gfx-callable-preserved-registers.ll
  llvm/test/CodeGen/AMDGPU/need-fp-from-caller-save-vgpr-spill.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106758.361478.patch
Type: text/x-patch
Size: 9551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210724/cbdd5ac1/attachment.bin>


More information about the llvm-commits mailing list