[compiler-rt] [Compiler-rt] Implement AEABI Unaligned Read/Write Helpers in compiler-rt (PR #167913)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 19 06:15:45 PST 2025


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 -- compiler-rt/lib/builtins/arm/aeabi_uread4.c compiler-rt/lib/builtins/arm/aeabi_uread8.c compiler-rt/lib/builtins/arm/aeabi_uwrite4.c compiler-rt/lib/builtins/arm/aeabi_uwrite8.c compiler-rt/test/builtins/Unit/arm/aeabi_unaligned_access_test.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/compiler-rt/lib/builtins/arm/aeabi_uread4.c b/compiler-rt/lib/builtins/arm/aeabi_uread4.c
index d6ec0e83f..5bf47e353 100644
--- a/compiler-rt/lib/builtins/arm/aeabi_uread4.c
+++ b/compiler-rt/lib/builtins/arm/aeabi_uread4.c
@@ -1,4 +1,5 @@
-//===-- aeabi_uread4.c - ARM EABI Helper — Unaligned 4-Byte Memory Read ------------------===//
+//===-- aeabi_uread4.c - ARM EABI Helper — Unaligned 4-Byte Memory Read
+//------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
diff --git a/compiler-rt/lib/builtins/arm/aeabi_uread8.c b/compiler-rt/lib/builtins/arm/aeabi_uread8.c
index 5274d2840..f1f1f3041 100644
--- a/compiler-rt/lib/builtins/arm/aeabi_uread8.c
+++ b/compiler-rt/lib/builtins/arm/aeabi_uread8.c
@@ -1,4 +1,5 @@
-//===-- aeabi_uread8.c - ARM EABI Helper — Unaligned 8-Byte Memory Read -----------------===//
+//===-- aeabi_uread8.c - ARM EABI Helper — Unaligned 8-Byte Memory Read
+//-----------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
diff --git a/compiler-rt/lib/builtins/arm/aeabi_uwrite4.c b/compiler-rt/lib/builtins/arm/aeabi_uwrite4.c
index bc7bc983f..3ff302fa1 100644
--- a/compiler-rt/lib/builtins/arm/aeabi_uwrite4.c
+++ b/compiler-rt/lib/builtins/arm/aeabi_uwrite4.c
@@ -1,4 +1,5 @@
-//===-- aeabi_uwrite4.c - ARM EABI Helper — Unaligned 4-Byte Memory Write ---------------===//
+//===-- aeabi_uwrite4.c - ARM EABI Helper — Unaligned 4-Byte Memory Write
+//---------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
diff --git a/compiler-rt/lib/builtins/arm/aeabi_uwrite8.c b/compiler-rt/lib/builtins/arm/aeabi_uwrite8.c
index 9584da54a..a7a6c4632 100644
--- a/compiler-rt/lib/builtins/arm/aeabi_uwrite8.c
+++ b/compiler-rt/lib/builtins/arm/aeabi_uwrite8.c
@@ -1,4 +1,5 @@
-//===-- aeabi_uwrite8.c - ARM EABI Helper — Unaligned 8-Byte Memory Write ---------------===//
+//===-- aeabi_uwrite8.c - ARM EABI Helper — Unaligned 8-Byte Memory Write
+//---------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

``````````

</details>


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


More information about the llvm-commits mailing list