github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff HEAD~1 HEAD --extensions h,c -- clang/lib/Headers/xmmintrin.h clang/test/CodeGen/X86/mmx-builtins.c `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Headers/xmmintrin.h b/clang/lib/Headers/xmmintrin.h index e3c280b1c..256900761 100644 --- a/clang/lib/Headers/xmmintrin.h +++ b/clang/lib/Headers/xmmintrin.h @@ -1690,8 +1690,7 @@ _mm_cvtsi64_ss(__m128 __a, long long __b) { /// converted value of the second operand. The upper 64 bits are copied from /// the upper 64 bits of the first operand. static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR -_mm_cvtpi32_ps(__m128 __a, __m64 __b) -{ +_mm_cvtpi32_ps(__m128 __a, __m64 __b) { return (__m128)__builtin_shufflevector( (__v4sf)__a, __builtin_convertvector((__v4si)__zext128(__b), __v4sf), @@ -1716,8 +1715,7 @@ _mm_cvtpi32_ps(__m128 __a, __m64 __b) /// converted value from the second operand. The upper 64 bits are copied /// from the upper 64 bits of the first operand. static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR -_mm_cvt_pi2ps(__m128 __a, __m64 __b) -{ +_mm_cvt_pi2ps(__m128 __a, __m64 __b) { return _mm_cvtpi32_ps(__a, __b); } @@ -2875,8 +2873,7 @@ _mm_movelh_ps(__m128 __a, __m128 __b) { /// \returns A 128-bit vector of [4 x float] containing the copied and converted /// values from the operand. static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR -_mm_cvtpi16_ps(__m64 __a) -{ +_mm_cvtpi16_ps(__m64 __a) { return __builtin_convertvector((__v4hi)__a, __v4sf); } @@ -2893,8 +2890,7 @@ _mm_cvtpi16_ps(__m64 __a) /// \returns A 128-bit vector of [4 x float] containing the copied and converted /// values from the operand. static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR -_mm_cvtpu16_ps(__m64 __a) -{ +_mm_cvtpu16_ps(__m64 __a) { return __builtin_convertvector((__v4hu)__a, __v4sf); } @@ -2911,8 +2907,7 @@ _mm_cvtpu16_ps(__m64 __a) /// \returns A 128-bit vector of [4 x float] containing the copied and converted /// values from the operand. static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR -_mm_cvtpi8_ps(__m64 __a) -{ +_mm_cvtpi8_ps(__m64 __a) { return __builtin_convertvector( __builtin_shufflevector((__v8qs)__a, __extension__ (__v8qs){}, 0, 1, 2, 3), __v4sf); @@ -2932,8 +2927,7 @@ _mm_cvtpi8_ps(__m64 __a) /// \returns A 128-bit vector of [4 x float] containing the copied and converted /// values from the source operand. static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR -_mm_cvtpu8_ps(__m64 __a) -{ +_mm_cvtpu8_ps(__m64 __a) { return __builtin_convertvector( __builtin_shufflevector((__v8qu)__a, __extension__ (__v8qu){}, 0, 1, 2, 3), __v4sf); @@ -2956,8 +2950,7 @@ _mm_cvtpu8_ps(__m64 __a) /// copied and converted values from the first operand. The upper 64 bits /// contain the copied and converted values from the second operand. static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR -_mm_cvtpi32x2_ps(__m64 __a, __m64 __b) -{ +_mm_cvtpi32x2_ps(__m64 __a, __m64 __b) { return __builtin_convertvector( __builtin_shufflevector((__v2si)__a, (__v2si)__b, 0, 1, 2, 3), __v4sf); `````````` </details> https://github.com/llvm/llvm-project/pull/153017 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits