77-__builtin_convertvector-win-clang18.patch 764 B

12345678910111213
  1. diff --git a/include/__algorithm/simd_utils.h b/include/__algorithm/simd_utils.h
  2. index c2fc02e..3548c00 100644
  3. --- a/include/__algorithm/simd_utils.h
  4. +++ b/include/__algorithm/simd_utils.h
  5. @@ -27,7 +27,7 @@ _LIBCPP_PUSH_MACROS
  6. #include <__undef_macros>
  7. // TODO: Find out how altivec changes things and allow vectorizations there too.
  8. -#if _LIBCPP_STD_VER >= 14 && defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1700 && !defined(__ALTIVEC__) && !defined(__CUDACC__)
  9. +#if _LIBCPP_STD_VER >= 14 && defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1700 && !defined(__ALTIVEC__) && !defined(__CUDACC__) && !(defined(_MSC_VER) && _LIBCPP_CLANG_VER <= 1801)
  10. # define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 1
  11. #else
  12. # define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 0