[compiler-rt] [compiler-rt][tests] Make this test case pass on AArch64 (PR #117628)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 2 07:38:50 PST 2024


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 535247841d8635bc998ec0ec4871ea22f27caba6 fb29076f77c4c695aa7af8dba88106af67ad71c3 --extensions c -- compiler-rt/test/builtins/Unit/atomic_test.c
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/compiler-rt/test/builtins/Unit/atomic_test.c b/compiler-rt/test/builtins/Unit/atomic_test.c
index 346c9b3be5..a00518a71f 100644
--- a/compiler-rt/test/builtins/Unit/atomic_test.c
+++ b/compiler-rt/test/builtins/Unit/atomic_test.c
@@ -145,10 +145,9 @@ typedef uint64_t maxuint_t;
 #define LEN(array) (sizeof(array) / sizeof(array[0]))
 
 __attribute__((aligned(16))) static char data[] = {
-    0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
-    0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
-    0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
-    0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
+    0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a,
+    0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25,
+    0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
 };
 
 uint8_t a8, b8;

``````````

</details>


https://github.com/llvm/llvm-project/pull/117628


More information about the llvm-commits mailing list