[PATCH] D152912: [AMDGPU] Place returns on stack if they would violate VGPR limit

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 06:07:31 PDT 2023


critson created this revision.
critson added reviewers: arsenm, sebastian-ne.
Herald added subscribers: foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
critson requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Check no VGPRs above configured maximum would be used by a return
when deciding if it can be lowered.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152912

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/gfx-callable-return-types.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152912.531297.patch
Type: text/x-patch
Size: 82151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230614/9cf3463b/attachment.bin>


More information about the llvm-commits mailing list