summaryrefslogtreecommitdiffstats
path: root/pstl
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-06-18 19:48:52 +0000
committerLouis Dionne <ldionne@apple.com>2019-06-18 19:48:52 +0000
commit050b804b139e8885274f2c7dfa1260950ed97075 (patch)
tree420b99fd89bb3e5b642beb74a1e37537e00bb9fe /pstl
parent8ff822d61dacf5a9466755eedafd3eeb54abc00d (diff)
downloadbcm5719-llvm-050b804b139e8885274f2c7dfa1260950ed97075.tar.gz
bcm5719-llvm-050b804b139e8885274f2c7dfa1260950ed97075.zip
[pstl] Disable workarounds for broken ICC versions when using Clang
llvm-svn: 363726
Diffstat (limited to 'pstl')
-rw-r--r--pstl/test/support/pstl_test_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pstl/test/support/pstl_test_config.h b/pstl/test/support/pstl_test_config.h
index 942445115c5..9220790eb81 100644
--- a/pstl/test/support/pstl_test_config.h
+++ b/pstl/test/support/pstl_test_config.h
@@ -14,6 +14,7 @@
#define _SCL_SECURE_NO_WARNINGS //to prevent the compilation warning. Microsoft STL implementation has specific checking of an iterator range in DEBUG mode for the containers from the standard library.
#endif
+#ifndef __clang__
#define _PSTL_ICC_16_17_TEST_REDUCTION_BOOL_TYPE_RELEASE_64_BROKEN \
(__x86_64 && !_DEBUG && __INTEL_COMPILER && __INTEL_COMPILER <= 1700 && !__APPLE__)
#define _PSTL_ICC_16_17_TEST_REDUCTION_RELEASE_BROKEN \
@@ -45,5 +46,6 @@
#define _PSTL_ICL_19_VC14_VC141_TEST_SCAN_RELEASE_BROKEN \
(__INTEL_COMPILER == 1900 && _MSC_VER >= 1900 && _MSC_VER <= 1910)
#define _PSTL_ICC_19_TEST_SIMD_UDS_WINDOWS_RELEASE_BROKEN (__INTEL_COMPILER == 1900 && _MSC_VER && !_DEBUG)
+#endif // !__clang__
#endif /* _PSTL_TEST_config_H */
OpenPOWER on IntegriCloud