[PATCH] D66197: AMDGPU: Add intrinsics for address space identification

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 23:13:15 PDT 2019


arsenm created this revision.
arsenm added reviewers: rampitec, b-sumner.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

The library currently uses ptrtoint and directly checks the queue ptr
for this, which counts as a pointer capture.


https://reviews.llvm.org/D66197

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  lib/Target/AMDGPU/AMDGPULegalizerInfo.h
  lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Transforms/Scalar/InferAddressSpaces.cpp
  test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.is.local.ll
  test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.is.private.ll
  test/CodeGen/AMDGPU/annotate-kernel-features-hsa.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.is.local.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.is.private.ll
  test/Transforms/InferAddressSpaces/AMDGPU/address-space-id-funcs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66197.215029.patch
Type: text/x-patch
Size: 22964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190814/3d7c2e82/attachment.bin>


More information about the llvm-commits mailing list