aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PatchableFunction.cpp
diff options
context:
space:
mode:
authorNikolay Haustov <Nikolay.Haustov@amd.com>2016-06-30 09:06:33 +0000
committerNikolay Haustov <Nikolay.Haustov@amd.com>2016-06-30 09:06:33 +0000
commit8c6538b86da704af25a2f47cc8350168f546f555 (patch)
treea92ab0b682f7261b558f8e174230581b733b1499 /llvm/lib/CodeGen/PatchableFunction.cpp
parent1df56894f818dd27ad80e37db570516c0f851a87 (diff)
downloadllvm-8c6538b86da704af25a2f47cc8350168f546f555.zip
llvm-8c6538b86da704af25a2f47cc8350168f546f555.tar.gz
llvm-8c6538b86da704af25a2f47cc8350168f546f555.tar.bz2
AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels.
Summary: Summary: Change Clang calling convention SpirKernel to OpenCLKernel. Set calling convention OpenCLKernel for amdgcn as well. Add virtual method .getOpenCLKernelCallingConv() to TargetCodeGenInfo and use it to set target calling convention for AMDGPU and SPIR. Update tests. Reviewers: rsmith, tstellarAMD, Anastasia, yaxunl Subscribers: kzhuravl, cfe-commits Differential Revision: http://reviews.llvm.org/D21367 llvm-svn: 274220
Diffstat (limited to 'llvm/lib/CodeGen/PatchableFunction.cpp')
0 files changed, 0 insertions, 0 deletions