================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to