[PATCH] D78351: [AMDGPU] Simplify SIRegisterInfo::getRegSplitParts

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 03:13:01 PDT 2020


foad created this revision.
foad added reviewers: arsenm, rampitec, nhaehnle.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

Use more logic and fewer tables. This reduces the line count and
reduces the effort required to introduce more register classes of
different sizes in future.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78351

Files:
  llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78351.258273.patch
Type: text/x-patch
Size: 8278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200417/7705d5d6/attachment.bin>


More information about the llvm-commits mailing list