Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [CUDA][HIP] Check calling convention based on function target | Yaxun Liu | 2019-02-26 | 1 | -0/+4 |
MSVC header files using vectorcall to differentiate overloaded functions, which causes failure for AMDGPU target. This is because clang does not check function calling convention based on function target. This patch checks calling convention using the proper target info. Differential Revision: https://reviews.llvm.org/D57716 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354929 91177308-0d34-0410-b5e6-96231b3b80d8 |