[PATCH] D99429: [AMDGPU] Save WWM registers in functions
Sebastian Neubauer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 26 10:49:55 PDT 2021
sebastian-ne created this revision.
sebastian-ne added reviewers: arsenm, madhur13490.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, qcolombet.
sebastian-ne requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
The values of registers in inactive lanes needs to be saved during
function calls.
Save all registers used for whole wave mode, similar to how it is done
for VGPRs that are used for SGPR spilling.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99429
Files:
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99429.333590.patch
Type: text/x-patch
Size: 49636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210326/68776dd3/attachment-0001.bin>
More information about the llvm-commits
mailing list