[PATCH] D98319: [AMDGPU] Always create Stack Object for reserved VGPR

Ruiling, Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 9 22:34:00 PST 2021


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

As we may overwrite inactive lanes of a caller-save-vgpr, we should
always save/restore the reserved vgpr for sgpr spill.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98319

Files:
  llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
  llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
  llvm/test/CodeGen/AMDGPU/stack-realign.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98319.329538.patch
Type: text/x-patch
Size: 7535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210310/94f8fc44/attachment.bin>


More information about the llvm-commits mailing list