[compiler-rt] [compiler-rt][builtins]Fix complex division for aarch64 (PR #106664)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 22:32:40 PDT 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 e00e9a3f8294c9b96cb0328bf136fab72aeec749 1a5ce412732bd2b3de183b9359407192528e25fd --extensions c -- compiler-rt/lib/builtins/divsc3.c compiler-rt/test/builtins/Unit/divsc3_test.c
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/test/builtins/Unit/divsc3_test.c b/compiler-rt/test/builtins/Unit/divsc3_test.c
index 2fb0a9697e..f11bcef55e 100644
--- a/compiler-rt/test/builtins/Unit/divsc3_test.c
+++ b/compiler-rt/test/builtins/Unit/divsc3_test.c
@@ -2,10 +2,10 @@
 // REQUIRES: librt_has_divsc3
 // REQUIRES: c99-complex
 
-#include "int_lib.h"
 #include "fp_test.h"
-#include <math.h>
+#include "int_lib.h"
 #include <complex.h>
+#include <math.h>
 #include <stdio.h>
 
 // Returns: the quotient of (a + ib) / (c + id)

``````````

</details>


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


More information about the llvm-commits mailing list