summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2018-12-10 18:26:50 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2018-12-10 18:26:50 +0000
commit17e53b9299666f43e5ac0d134b53cf5981274f45 (patch)
treeee86789cf2e829e448cd6d6e6e678e518b06a5f0 /clang/lib/Basic/Targets.cpp
parentbdad92a13124267bec7af38358ec69d9cfe8666b (diff)
downloadbcm5719-llvm-17e53b9299666f43e5ac0d134b53cf5981274f45.tar.gz
bcm5719-llvm-17e53b9299666f43e5ac0d134b53cf5981274f45.zip
[OpenMP] Fix a few build issues
Fix two build issues: 1) Recent commit 348756 accidentally included Unix clang compilers to use immintrin.h when only clang-cl should be using it leading to the following error: openmp-llvm/runtime/src/kmp_lock.cpp:2035:25: error: always_ inline function '_xbegin' requires target feature 'rtm', but would be inlined into function '__kmp_test_adaptive_lock_only' that is compiled without support for 'rtm' kmp_uint32 status = _xbegin(); This patch changes the guard to use immintrin.h to only use clang-cl instead of all clang 2) gcc-8 gives a warning about multiline comment in kmp_runtime.cpp: This patch just changes it to a two line comment openmp-llvm/runtime/src/kmp_runtime.cpp:7697:8: warning: multi-line comment [-Wcomment] #endif // KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD \ llvm-svn: 348783
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud