[clang] [llvm] [AArch64] Rename memory hints to avoid clash with arm_acle.h macros (PR #226432)
Kerry McLaughlin via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 11:56:36 PDT 2026
================
@@ -40,6 +40,12 @@ void __sev(void);
void __sevl(void);
void __yield(void);
+/* Atomic Hints */
+#if defined(__ARM_64BIT_STATE) && __ARM_64BIT_STATE
+const int HINT_STSHH_KEEP = 0;
+const int HINT_STSHH_STRM = 1;
----------------
kmclaughlin-arm wrote:
Thank you for reviewing this, @efriedma-quic.
I also haven't found any ifdefs being used in this way. I removed the changes to make these `const int` in the latest commit and reverted back to using defines.
https://github.com/llvm/llvm-project/pull/226432
More information about the llvm-commits
mailing list