The branch stable/13 has been updated by dim:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=37fd93d0c2df56b709ca49b21036f5070417502a

commit 37fd93d0c2df56b709ca49b21036f5070417502a
Author:     Dimitry Andric <d...@freebsd.org>
AuthorDate: 2024-08-05 20:05:46 +0000
Commit:     Dimitry Andric <d...@freebsd.org>
CommitDate: 2024-12-01 12:32:38 +0000

    libcxx simd_utils.h: only enable _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS for
    clang >= 15, since older versions do not support the required builtins.
    
    PR:             280562
    MFC after:      1 month
    
    (cherry picked from commit 6846ab2fb6630ca91ab0a71350d77358e521c1c7)
---
 contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Reply via email to