[PATCH] D139673: [AMDGPU][SIFrameLowering] Mark VGPR used for AGPR spills as reserved

Jeffrey Byrnes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 10:50:59 PST 2022


jrbyrnes updated this revision to Diff 483238.
jrbyrnes added a comment.

Introduce MRI->reserveReg() and use to reserve VGPR for AGPR spills


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139673/new/

https://reviews.llvm.org/D139673

Files:
  llvm/include/llvm/CodeGen/MachineRegisterInfo.h
  llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
  llvm/lib/Target/AMDGPU/SIRegisterInfo.h
  llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir
  llvm/test/CodeGen/AMDGPU/agpr-copy-no-free-registers.ll
  llvm/test/CodeGen/AMDGPU/copy-vgpr-clobber-spill-vgpr.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139673.483238.patch
Type: text/x-patch
Size: 71513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221215/2489fd64/attachment.bin>


More information about the llvm-commits mailing list