[PATCH] D96869: [AMDGPU] Fix saving fp and bp
Sebastian Neubauer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 17 07:14:39 PST 2021
sebastian-ne created this revision.
sebastian-ne added reviewers: arsenm, foad, critson, madhur13490, piotr.
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.
Spilling the fp or bp to scratch could overwrite VGPRs of inactive
lanes. Fix that by saving and restoring the VGPR used for spilling.
Builds upon D96336 <https://reviews.llvm.org/D96336>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96869
Files:
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
llvm/test/CodeGen/AMDGPU/frame-setup-without-sgpr-to-vgpr-spills.ll
llvm/test/CodeGen/AMDGPU/stack-realign.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96869.324306.patch
Type: text/x-patch
Size: 27580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210217/570cdfdc/attachment.bin>
More information about the llvm-commits
mailing list