[PATCH] D70379: [AMDGPU] Reserving VGPR for future SGPR Spill

Saiyedul Islam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 15:15:10 PDT 2020


saiislam updated this revision to Diff 259408.
saiislam added a comment.

Now highest available VGPR is reserved in the beginning and it is
switched with lowest available VGPR after RA.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70379

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
  llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
  llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
  llvm/test/CodeGen/AMDGPU/reserve-vgpr-for-sgpr-spill.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70379.259408.patch
Type: text/x-patch
Size: 7676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200422/8bcabb4e/attachment.bin>


More information about the llvm-commits mailing list