================
@@ -69,11 +70,11 @@ _LIBCPP_CONSTEXPR_SINCE_CXX14 _Tp* __find_vectorized(_Tp* 
__first, _Tp* __last,
   if (!__libcpp_is_constant_evaluated()) {
     constexpr size_t __unroll_count = 4;
     constexpr size_t __vec_size     = __native_vector_size<_Tp>;
-    using __vec                     = __simd_vector<_Tp, __vec_size>;
+    using __vec                     = __simd_vector<typename 
remove_cv<_Tp>::type, __vec_size>;
----------------
philnik777 wrote:

Given that we seemingly have to apply it everywhere I wonder whether it 
wouldn't be better to move it into the alias instead.

https://github.com/llvm/llvm-project/pull/197624
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to