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 h,c -- 
clang/lib/Headers/riscv_packed_simd.h clang/test/CodeGen/RISCV/rvp-intrinsics.c 
cross-project-tests/intrinsic-header-tests/riscv_packed_simd.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/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c 
b/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
index 3a1045a8b..48fcf0367 100644
--- a/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
+++ b/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
@@ -4175,21 +4175,15 @@ int64_t test_mulsu_w11_i64(int32x2_t a, uint32x2_t b) {
 
 // CHECK-LABEL: test_pget_i8x4_i8:
 // CHECK:       srai
-int8_t test_pget_i8x4_i8(int8x4_t v) {
-  return __riscv_pget_i8x4_i8(v, 3);
-}
+int8_t test_pget_i8x4_i8(int8x4_t v) { return __riscv_pget_i8x4_i8(v, 3); }
 
 // CHECK-LABEL: test_pget_i8x4_i8_idx0:
 // CHECK:       sext.b
-int8_t test_pget_i8x4_i8_idx0(int8x4_t v) {
-  return __riscv_pget_i8x4_i8(v, 0);
-}
+int8_t test_pget_i8x4_i8_idx0(int8x4_t v) { return __riscv_pget_i8x4_i8(v, 0); 
}
 
 // CHECK-LABEL: test_pget_u8x4_u8:
 // CHECK:       srli
-uint8_t test_pget_u8x4_u8(uint8x4_t v) {
-  return __riscv_pget_u8x4_u8(v, 3);
-}
+uint8_t test_pget_u8x4_u8(uint8x4_t v) { return __riscv_pget_u8x4_u8(v, 3); }
 
 // CHECK-LABEL: test_pget_u8x4_u8_idx0:
 // CHECK:       zext.b
@@ -4223,15 +4217,11 @@ uint16_t test_pget_u16x2_u16_idx0(uint16x2_t v) {
 
 // CHECK-LABEL: test_pget_i8x8_i8:
 // CHECK:       srai
-int8_t test_pget_i8x8_i8(int8x8_t v) {
-  return __riscv_pget_i8x8_i8(v, 7);
-}
+int8_t test_pget_i8x8_i8(int8x8_t v) { return __riscv_pget_i8x8_i8(v, 7); }
 
 // CHECK-LABEL: test_pget_u8x8_u8:
 // CHECK:       srli
-uint8_t test_pget_u8x8_u8(uint8x8_t v) {
-  return __riscv_pget_u8x8_u8(v, 7);
-}
+uint8_t test_pget_u8x8_u8(uint8x8_t v) { return __riscv_pget_u8x8_u8(v, 7); }
 
 // CHECK-LABEL: test_pget_i16x4_i16:
 // CHECK:       srai

``````````

</details>


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

Reply via email to