diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2024-08-05 20:05:46 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2024-10-23 18:26:36 +0000 |
| commit | 6846ab2fb6630ca91ab0a71350d77358e521c1c7 (patch) | |
| tree | 60414a21b0cbab5efaf095562cad4d64008baabf /contrib/llvm-project | |
| parent | 36d486cc2ecdb9c290dba65bd5668b7e50d0d822 (diff) | |
Diffstat (limited to 'contrib/llvm-project')
| -rw-r--r-- | contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h b/contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h index 549197be8018..cb5c93675cad 100644 --- a/contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h +++ b/contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h @@ -28,7 +28,7 @@ _LIBCPP_PUSH_MACROS #include <__undef_macros> // TODO: Find out how altivec changes things and allow vectorizations there too. -#if _LIBCPP_STD_VER >= 14 && defined(_LIBCPP_CLANG_VER) && !defined(__ALTIVEC__) +#if _LIBCPP_STD_VER >= 14 && (defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1500) && !defined(__ALTIVEC__) # define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 1 #else # define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 0 |
