[clang] [AArch64] Update __gcsss intrinsic to match revised ACLE specification (PR #136850)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 23 04:50:25 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 h -- clang/lib/Headers/arm_acle.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Headers/arm_acle.h b/clang/lib/Headers/arm_acle.h
index 7681a8e9d..5cfa3d023 100644
--- a/clang/lib/Headers/arm_acle.h
+++ b/clang/lib/Headers/arm_acle.h
@@ -841,9 +841,9 @@ __gcspopm() {
   return __builtin_arm_gcspopm(0);
 }
 
-static __inline__ void *
-    __attribute__((__always_inline__, __nodebug__, target("gcs")))
-    __gcsss(void *__stack) {
+static __inline__ void *__attribute__((__always_inline__, __nodebug__,
+                                       target("gcs")))
+__gcsss(void *__stack) {
   return __builtin_arm_gcsss(__stack);
 }
 #endif

``````````

</details>


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


More information about the cfe-commits mailing list