]> granicus.if.org Git - clang/commit
Set calling convention for CUDA kernel
authorYaxun Liu <Yaxun.Liu@amd.com>
Thu, 29 Mar 2018 15:02:08 +0000 (15:02 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Thu, 29 Mar 2018 15:02:08 +0000 (15:02 +0000)
commit96325393f64511a3fae168b7f3c3d31733e82b45
tree6363344453081aa3fc7dcf764d322669d99ef900
parent8a1c33e1b7dbdf4162ae4c8aea1145c5d5cbd129
Set calling convention for CUDA kernel

This patch sets target specific calling convention for CUDA kernels in IR.

Patch by Greg Rodgers.
Revised and lit test added by Yaxun Liu.

Differential Revision: https://reviews.llvm.org/D44747

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328795 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/Basic/Specifiers.h
lib/AST/ItaniumMangle.cpp
lib/AST/Type.cpp
lib/AST/TypePrinter.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/TargetInfo.cpp
lib/CodeGen/TargetInfo.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaType.cpp
test/CodeGenCUDA/kernel-amdgcn.cu [new file with mode: 0644]
tools/libclang/CXType.cpp