[PATCH] D76107: AMDGPU: Don't handle kernarg.segment.ptr in functions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 16:18:31 PDT 2020


arsenm created this revision.
arsenm added reviewers: rampitec, b-sumner.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
arsenm added a child revision: D76106: AMDGPU: Add flag to used fixed function ABI.

Just lower this to null. Pass implicitarg.ptr in its place in the
argument list.


https://reviews.llvm.org/D76107

Files:
  llvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.kernarg.segment.ptr.ll
  llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
  llvm/test/CodeGen/AMDGPU/callee-special-input-sgprs.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.implicitarg.ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76107.250081.patch
Type: text/x-patch
Size: 11631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200312/a19e7fac/attachment-0001.bin>


More information about the llvm-commits mailing list