[compiler-rt] [compiler-rt] Fix test ifdefs and XFAILs (PR #160687)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 04:28:32 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 origin/main HEAD --extensions c -- compiler-rt/test/builtins/Unit/fixunstfdi_test.c compiler-rt/test/builtins/Unit/multc3_test.c
``````````

: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/test/builtins/Unit/multc3_test.c b/compiler-rt/test/builtins/Unit/multc3_test.c
index 3d9a20e87..8b46698d0 100644
--- a/compiler-rt/test/builtins/Unit/multc3_test.c
+++ b/compiler-rt/test/builtins/Unit/multc3_test.c
@@ -1,8 +1,8 @@
 // RUN: %clang_builtins %s %librt -o %t && %run %t
 // REQUIRES: librt_has_multc3
 
-#include <stdio.h>
 #include "int_lib.h"
+#include <stdio.h>
 
 #if defined(CRT_HAS_128BIT) && defined(CRT_HAS_F128)
 

``````````

</details>


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


More information about the llvm-commits mailing list