summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclAttr.cpp
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2018-03-12 16:34:06 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2018-03-12 16:34:06 +0000
commita99e7d8e44f716d459748f0bea299619528ebb4f (patch)
tree879acc43b7513f4af66cabc5ef1d4c7f3962109c /clang/lib/Sema/SemaDeclAttr.cpp
parent0185281ad1750c7b0b52bdd76f098eb80de798b9 (diff)
downloadbcm5719-llvm-a99e7d8e44f716d459748f0bea299619528ebb4f.tar.gz
bcm5719-llvm-a99e7d8e44f716d459748f0bea299619528ebb4f.zip
[AMDGPU] Fix lowering enqueue kernel when kernel has no name
Since the enqueued kernels have internal linkage, their names may be dropped. In this case, give them unique names __amdgpu_enqueued_kernel or __amdgpu_enqueued_kernel.n where n is a sequential number starting from 1. Differential Revision: https://reviews.llvm.org/D44322 llvm-svn: 327291
Diffstat (limited to 'clang/lib/Sema/SemaDeclAttr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud