Author: Simon Pilgrim
Date: 2025-11-10T18:56:13Z
New Revision: e9d3340b57494091cf77130d3f7cc03fbe9ccbd6

URL: 
https://github.com/llvm/llvm-project/commit/e9d3340b57494091cf77130d3f7cc03fbe9ccbd6
DIFF: 
https://github.com/llvm/llvm-project/commit/e9d3340b57494091cf77130d3f7cc03fbe9ccbd6.diff

LOG: [X86] _mm_addsub_pd is not valid for constexpr (#167363)

Typo in #156822

Part of #166814

Added: 
    

Modified: 
    clang/lib/Headers/pmmintrin.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/Headers/pmmintrin.h b/clang/lib/Headers/pmmintrin.h
index 42bd343e326de..6b152bde29fc1 100644
--- a/clang/lib/Headers/pmmintrin.h
+++ b/clang/lib/Headers/pmmintrin.h
@@ -166,7 +166,7 @@ _mm_moveldup_ps(__m128 __a)
 ///    A 128-bit vector of [2 x double] containing the right source operand.
 /// \returns A 128-bit vector of [2 x double] containing the alternating sums
 ///    and 
diff erences of both operands.
-static __inline__ __m128d __DEFAULT_FN_ATTRS_CONSTEXPR
+static __inline__ __m128d __DEFAULT_FN_ATTRS
 _mm_addsub_pd(__m128d __a, __m128d __b) {
   return __builtin_ia32_addsubpd((__v2df)__a, (__v2df)__b);
 }


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

Reply via email to