aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
diff options
context:
space:
mode:
authorJon Chesterfield <jonathanchesterfield@gmail.com>2021-07-18 23:30:33 +0100
committerJon Chesterfield <jonathanchesterfield@gmail.com>2021-07-18 23:30:35 +0100
commit3e649f8ef1875f943537b5fcecdb132c9442cb7d (patch)
treebc0dc307c3e7700af0fcb8ef5ee90e86ab806669 /llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
parentda92e86263c3dcbe0d19fe68d1be2373b74eedf5 (diff)
downloadllvm-3e649f8ef1875f943537b5fcecdb132c9442cb7d.zip
llvm-3e649f8ef1875f943537b5fcecdb132c9442cb7d.tar.gz
llvm-3e649f8ef1875f943537b5fcecdb132c9442cb7d.tar.bz2
[openmp][nfc] Simplify macros guarding math complex headers
The `__CUDA__` macro is already defined for openmp/nvptx and is not used by `__clang_cuda_complex_builtins.h`, so dropping that macro slightly simplifies nvptx and avoids defining it on amdgcn (where it is likely to be harmful). Also dropped a cplusplus test from a C++ header as compilation will have failed on cmath earlier if it was included from C. Reviewed By: jdoerfert, fodinabor Differential Revision: https://reviews.llvm.org/D105221
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp')
0 files changed, 0 insertions, 0 deletions