diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-06-12 00:16:33 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-06-12 00:16:33 +0000 |
commit | 6c10a66ec7732e8b7afd8ac0260c2e572fbe0a31 (patch) | |
tree | f2f1fec310f3a513a61429165579a169f7be6744 /llvm/lib | |
parent | 9deaf68ed1ff782c91cb08b4dd1bd04c7c02653c (diff) | |
download | bcm5719-llvm-6c10a66ec7732e8b7afd8ac0260c2e572fbe0a31.tar.gz bcm5719-llvm-6c10a66ec7732e8b7afd8ac0260c2e572fbe0a31.zip |
[CUDA][HIP] Set kernel calling convention before arrange function
Currently clang set kernel calling convention for CUDA/HIP after
arranging function, which causes incorrect kernel function type since
it depends on calling convention.
This patch moves setting kernel convention before arranging
function.
Differential Revision: https://reviews.llvm.org/D47733
llvm-svn: 334457
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions