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 origin/main HEAD --extensions c,h --
clang/lib/Headers/xopintrin.h clang/test/CodeGen/X86/xop-builtins.c
--diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Headers/xopintrin.h b/clang/lib/Headers/xopintrin.h
index 860412f6a..e87acbc03 100644
--- a/clang/lib/Headers/xopintrin.h
+++ b/clang/lib/Headers/xopintrin.h
@@ -736,16 +736,14 @@ _mm_comtrue_epi64(__m128i __A, __m128i __B)
(__v8sf)(__m256)(Y), \
(__v8si)(__m256i)(C), (I)))
-static __inline__ __m128 __DEFAULT_FN_ATTRS
-_mm_frcz_ss(__m128 __A, __m128 __B)
-{
+static __inline__ __m128 __DEFAULT_FN_ATTRS _mm_frcz_ss(__m128 __A,
+ __m128 __B) {
__A[0] = ((__v4sf)__builtin_ia32_vfrczss((__v4sf)__B))[0];
return __A;
}
-static __inline__ __m128d __DEFAULT_FN_ATTRS
-_mm_frcz_sd(__m128d __A, __m128d __B)
-{
+static __inline__ __m128d __DEFAULT_FN_ATTRS _mm_frcz_sd(__m128d __A,
+ __m128d __B) {
__A[0] = ((__v2df)__builtin_ia32_vfrczsd((__v2df)__B))[0];
return __A;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/219863
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits