[PATCH] D33967: AMDGPU: Detect kernarg segment pointer

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 16:09:03 PDT 2017


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

This is necessary to pass the kernarg segment pointer
to callee functions. Also don't unconditionally enable
 for kernels.


https://reviews.llvm.org/D33967

Files:
  lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
  test/CodeGen/AMDGPU/annotate-kernel-features-hsa.ll
  test/CodeGen/AMDGPU/attr-amdgpu-flat-work-group-size.ll
  test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll
  test/CodeGen/AMDGPU/hsa.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll
  test/CodeGen/AMDGPU/mubuf-offset-private.ll
  test/CodeGen/AMDGPU/private-access-no-objects.ll
  test/CodeGen/AMDGPU/trap.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33967.101641.patch
Type: text/x-patch
Size: 15957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170606/8c63fcce/attachment.bin>


More information about the llvm-commits mailing list