summaryrefslogtreecommitdiff
path: root/test/SemaCUDA/amdgpu-windows-vectorcall.cu
Commit message (Collapse)AuthorAgeFilesLines
* [CUDA][HIP] Check calling convention based on function targetYaxun Liu2019-02-261-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