AMDGPU: Stop checking intrinsics not used by HSA for dispatch-ptr
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 30 Jan 2016 05:10:59 +0000 (05:10 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 30 Jan 2016 05:10:59 +0000 (05:10 +0000)
commitd0799df7075c549611a8da06e4a7272fd82ff9c9
tree9fb4634275265f20a2d961a85f8fea34fcd039a2
parent56c079f3934e8a76f3a60065d17e3a5dfdd39325
AMDGPU: Stop checking intrinsics not used by HSA for dispatch-ptr

Only the dispatch.ptr intrinsic is supposed to be used now to get
the workgroup size, and the read.local.size intrinsics do not
work correctly.

llvm-svn: 259296
llvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/annotate-kernel-features.ll