[compiler-rt] [builtins][FMV][Apple] Use builtin atomic load/store, instead of libdispatch (PR #78807)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 15:37:53 PST 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 39e024d9e2ec00de00d6815596572579e4c03beb 10bc0777f2a9d75febecf8b451ee681ff457002a -- compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc b/compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
index 1b56bb04b7..0bb755f4b3 100644
--- a/compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
+++ b/compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
@@ -63,7 +63,8 @@ void __init_cpu_features_resolver(void) {
features |= (1ULL << FEAT_INIT);
- __atomic_store(&__aarch64_cpu_features.features, &features, __ATOMIC_RELAXED);
+ __atomic_store(&__aarch64_cpu_features.features, &features,
+ __ATOMIC_RELAXED);
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/78807
More information about the llvm-commits
mailing list