================
@@ -39,24 +39,21 @@ typedef short __v8hi __attribute__((__vector_size__(16)));
 typedef char __v16qi __attribute__((__vector_size__(16)));
 
 /* Define the default attributes for the functions in this file. */
+#if defined(__cplusplus) && (__cplusplus >= 201103L)
 #define __DEFAULT_FN_ATTRS_SSE2                                                
\
   __attribute__((__always_inline__, __nodebug__, __target__("sse2"),           
\
-                 __min_vector_width__(128)))
-
-#if defined(__cplusplus) && (__cplusplus >= 201103L)
-#define __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR __DEFAULT_FN_ATTRS_SSE2 constexpr
+                 __min_vector_width__(128))) constexpr
 #else
-#define __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR __DEFAULT_FN_ATTRS_SSE2
+#define __DEFAULT_FN_ATTRS_SSE2                                                
\
+  __attribute__((__always_inline__, __nodebug__, __target__("sse2"),           
\
+                 __min_vector_width__(128)))
 #endif
 
 #define __trunc64(x)                                                           
\
   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
 #define __zext128(x)                                                           
\
   (__m128i) __builtin_shufflevector((__v2si)(x), __extension__(__v2si){}, 0,   
\
                                     1, 2, 3)
-#define __anyext128(x)                                                         
\
-  (__m128i) __builtin_shufflevector((__v2si)(x), __extension__(__v2si){}, 0,   
\
-                                    1, -1, -1)
----------------
chaitanyav wrote:

removed the undef for __anyext128

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

Reply via email to