aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2020-08-18 14:51:51 -0400
committerAlexey Bataev <a.bataev@hotmail.com>2020-08-19 16:14:33 -0400
commitfb4acd37fe60a08a0077560d2814053d76ea1c41 (patch)
tree97c24d25fb086e1a15271ff83fd633cb94bbc176 /clang/lib/CodeGen/CodeGenModule.cpp
parent3fb3927bd333cded1f51025161a4ee7e7ca722c1 (diff)
downloadllvm-fb4acd37fe60a08a0077560d2814053d76ea1c41.zip
llvm-fb4acd37fe60a08a0077560d2814053d76ea1c41.tar.gz
llvm-fb4acd37fe60a08a0077560d2814053d76ea1c41.tar.bz2
[OPENMP]Fix PR47158, case 2: do not report host-only functions in unused function in device mode.
If the function is not marked exlicitly as declare target and it calls function(s), marked as declare target device_type(host), these host-only functions should not be dignosed as used in device mode, if the caller function is not used in device mode too. Differential Revision: https://reviews.llvm.org/D86164
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions