[PATCH] D48536: AMDGPU/GlobalISel: Add support for llvm.amdgcn.kernarg.segment.ptr

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 25 02:01:43 PDT 2018


arsenm created this revision.
arsenm added a reviewer: tstellar.
Herald added subscribers: t-tye, tpr, dstuttard, kristof.beyls, rovka, yaxunl, nhaehnle, wdng, kzhuravl.

Note a normal select test is not currently possible because this 
relies on input registers tracked in SIMachineFunctionInfo which are
not currently serializable in MIR, but this does work end-to-end
from the IR.


https://reviews.llvm.org/D48536

Files:
  lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  lib/Target/AMDGPU/AMDGPUInstructionSelector.h
  lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.kernarg.segment.ptr.mir
  test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.kernarg.segment.ptr.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48536.152639.patch
Type: text/x-patch
Size: 4620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180625/35df82fb/attachment.bin>


More information about the llvm-commits mailing list