aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/include/__algorithm
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2024-08-05 20:05:46 +0000
committerDimitry Andric <dim@FreeBSD.org>2024-12-01 12:32:38 +0000
commit37fd93d0c2df56b709ca49b21036f5070417502a (patch)
treea2348fb351e4e263867f2605fa36f2f40aacf9b5 /contrib/llvm-project/libcxx/include/__algorithm
parentf32d1687227199657c25748c9a2e692dcda9a505 (diff)
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__algorithm')
-rw-r--r--contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h2
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