[compiler-rt] [builtins][AArch32] Fix __gnu_* functions (PR #137638)

via llvm-commits llvm-commits at lists.llvm.org
Mon May 19 03:07:14 PDT 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 HEAD~1 HEAD --extensions c -- compiler-rt/lib/builtins/extendhfsf2.c compiler-rt/lib/builtins/truncsfhf2.c
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/lib/builtins/truncsfhf2.c b/compiler-rt/lib/builtins/truncsfhf2.c
index c8a463092..6ad8621b8 100644
--- a/compiler-rt/lib/builtins/truncsfhf2.c
+++ b/compiler-rt/lib/builtins/truncsfhf2.c
@@ -16,7 +16,6 @@ COMPILER_RT_ABI NOINLINE dst_t __truncsfhf2(float a) {
   return __truncXfYf2__(a);
 }
 
-
 #if defined(__ARM_EABI__)
 #if defined(COMPILER_RT_ARMHF_TARGET)
 AEABI_RTABI dst_t __gnu_f2h_ieee(float a) { return __truncsfhf2(a); }

``````````

</details>


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


More information about the llvm-commits mailing list