r354990 - [NFC] minor revision of r354929 [CUDA][HIP] Check calling convention based on function target

2019-02-27 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Wed Feb 27 07:46:29 2019 New Revision: 354990 URL: http://llvm.org/viewvc/llvm-project?rev=354990&view=rev Log: [NFC] minor revision of r354929 [CUDA][HIP] Check calling convention based on function target Add comments and move a variable to if block. Differential Revi

r354929 - [CUDA][HIP] Check calling convention based on function target

2019-02-26 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Feb 26 14:24:49 2019 New Revision: 354929 URL: http://llvm.org/viewvc/llvm-project?rev=354929&view=rev Log: [CUDA][HIP] Check calling convention based on function target MSVC header files using vectorcall to differentiate overloaded functions, which causes failure for AMD