[llvm-branch-commits] [compiler-rt] [builtins][arm64] Implement __init_cpu_features_resolver on Apple platforms (PR #75636)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Dec 15 10:16:28 PST 2023


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 9abeecb80de5a9a04443d022a288f399f4169182 7d00dcbd3111e22e155e753740aef9fc7449d652 -- compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc compiler-rt/lib/builtins/cpu_model/aarch64.c
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/lib/builtins/cpu_model/aarch64.c b/compiler-rt/lib/builtins/cpu_model/aarch64.c
index b4291ff401..761ac2e109 100644
--- a/compiler-rt/lib/builtins/cpu_model/aarch64.c
+++ b/compiler-rt/lib/builtins/cpu_model/aarch64.c
@@ -124,7 +124,7 @@ struct {
 } __aarch64_cpu_features __attribute__((visibility("hidden"), nocommon));
 
 #if defined(__APPLE__)
-#  include "aarch64/fmv/apple.inc"
+#include "aarch64/fmv/apple.inc"
 #elif defined(__FreeBSD__)
 #  include "aarch64/fmv/mrs.inc"
 #  include "aarch64/fmv/freebsd.inc"

``````````

</details>


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


More information about the llvm-branch-commits mailing list