[PATCH] D35971: AMDGPU: Annotate implicitarg.ptr usage

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 19:01:39 PDT 2017


arsenm created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng.

We need to pass something to functions for this to work.
It isn't derivable just from the kernarg segment pointer
because the implicit arguments are placed after the
kernel arguments.

      

Also fixes missing test for the intrinsic.


https://reviews.llvm.org/D35971

Files:
  lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  lib/Target/AMDGPU/SIMachineFunctionInfo.h
  test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.implicitarg.ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35971.108569.patch
Type: text/x-patch
Size: 10128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170728/f5f3b4bc/attachment.bin>


More information about the llvm-commits mailing list