diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2019-02-26 22:24:49 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2019-02-26 22:24:49 +0000 |
commit | fa49c3a888e816969b5ed68cd5c47efc3eb9419f (patch) | |
tree | 566b6fd5881f9d5882de775123a561551695fa03 /llvm/lib/ProfileData/InstrProf.cpp | |
parent | 305b6b9647b74466dc4082a203b25fd73a6ed10c (diff) | |
download | bcm5719-llvm-fa49c3a888e816969b5ed68cd5c47efc3eb9419f.tar.gz bcm5719-llvm-fa49c3a888e816969b5ed68cd5c47efc3eb9419f.zip |
[CUDA][HIP] Check calling convention based on function target
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
llvm-svn: 354929
Diffstat (limited to 'llvm/lib/ProfileData/InstrProf.cpp')
0 files changed, 0 insertions, 0 deletions