]> granicus.if.org Git - llvm/commit
AMDGPU: Annotate features from x work item/group IDs.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Jul 2017 22:35:50 +0000 (22:35 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Jul 2017 22:35:50 +0000 (22:35 +0000)
commitbcb8abee35d0ea58ee3cae055612f7d10df8f026
tree63689de8c7361bf3633a7d74e161598ffa465774
parentb8fb226737ee5bc9f14410160a655ff9fd8d926d
AMDGPU: Annotate features from x work item/group IDs.

This wasn't necessary before since they are always enabled
for kernels, but this is necessary if they need to be
forwarded to a callable function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308226 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
lib/Target/AMDGPU/SIMachineFunctionInfo.h
test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll