aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2023-09-07 23:18:30 -0400
committerGitHub <noreply@github.com>2023-09-07 23:18:30 -0400
commit9b7763821aedc282059309c640f69a735b4f5760 (patch)
tree223705603e0297b67b8e174623ef8d78d7c78003 /flang/lib/Frontend/CompilerInvocation.cpp
parent4d2536c82fc426f0e622a09c0a3e048a0c734f3d (diff)
downloadllvm-9b7763821aedc282059309c640f69a735b4f5760.zip
llvm-9b7763821aedc282059309c640f69a735b4f5760.tar.gz
llvm-9b7763821aedc282059309c640f69a735b4f5760.tar.bz2
Reland "[CUDA][HIP] Fix overloading resolution in global var init" (#65606)
https://reviews.llvm.org/D158247 caused regressions for HIP on Windows and was reverted. A reduced test case is: ``` typedef void (__stdcall* funcTy)(); void invoke(funcTy f); static void __stdcall callee() noexcept { } void foo() { invoke(callee); } ``` It is due to clang missing handling host/device attributes for calling convention at a few places This patch fixes that.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions