[PATCH] D68540: AMDGPU/GlobalISel: Handle more G_INSERT cases

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 5 11:53:54 PDT 2019


arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle, kerbowa.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.

Start manually writing a table to get the subreg index. TableGen
should probably generate this, but I'm not sure what it looks like in
the arbitrary case where subregisters are allowed to not fully cover
the super-registers.


https://reviews.llvm.org/D68540

Files:
  lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  lib/Target/AMDGPU/AMDGPURegisterInfo.cpp
  lib/Target/AMDGPU/AMDGPURegisterInfo.h
  test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68540.223379.patch
Type: text/x-patch
Size: 13912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191005/dc3d0c72/attachment.bin>


More information about the llvm-commits mailing list