[PATCH] D81914: [AMDGPU] Avoid use of V_READLANE into EXEC in SGPR spills
Carl Ritson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 16 01:36:57 PDT 2020
critson created this revision.
critson added reviewers: arsenm, dstuttard, rampitec, sameerds.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, yaxunl, nhaehnle, wdng, jvesely, kzhuravl, qcolombet.
Herald added a project: LLVM.
Depends on D81224 <https://reviews.llvm.org/D81224>.
Always prefer to clobber input SGPRs and restore them after the
spill. This applies to both spills to VGPRs and scratch.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81914
Files:
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.h
llvm/test/CodeGen/AMDGPU/sgpr-spill.mir
llvm/test/CodeGen/AMDGPU/spill-special-sgpr.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81914.270978.patch
Type: text/x-patch
Size: 35886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200616/da0dbee9/attachment.bin>
More information about the llvm-commits
mailing list