[PATCH] D79878: [NFC] Move getAll{S,V}GPR{32,128} methods to SIFrameLowering

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 13 09:44:31 PDT 2020


scott.linder created this revision.
scott.linder added reviewers: arsenm, cdevadas.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, nhaehnle, wdng, jvesely, qcolombet.
Herald added a project: LLVM.
scott.linder added a child revision: D76882: [AMDGPU] Implement CFI for non-kernel functions.

Future patch needs some of these in multiple places.

The definitions of these can't be in the header and be eligible for
inlining without making the full declaration of GCNSubtarget visible.
I'm not sure what the right trade-off is, but I opted to not bloat
SIRegisterInfo.h


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79878

Files:
  llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
  llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
  llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
  llvm/lib/Target/AMDGPU/SIRegisterInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79878.263751.patch
Type: text/x-patch
Size: 4771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200513/d5fea2f9/attachment.bin>


More information about the llvm-commits mailing list