[clang] [llvm] [AArch64] Implement the atomic fetch with hint intrinsic (PR #227711)
Kerry McLaughlin via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 6 04:01:07 PDT 2026
================
@@ -14,11 +14,14 @@ enum class AArch64MemoryHint {
NONE = 0,
STSHH_KEEP = 1,
STSHH_STRM = 2,
+ STCPH = 3,
+ SHUH = 4,
+ SHUH_PH = 5,
};
template <typename Int> inline bool isValidAArch64MemoryHintValue(Int I) {
return (Int)AArch64MemoryHint::STSHH_KEEP <= I &&
- I <= (Int)AArch64MemoryHint::STSHH_STRM;
+ I <= (Int)AArch64MemoryHint::SHUH_PH;
----------------
kmclaughlin-arm wrote:
I realise that I added this function, but I don't think it's being used anywhere anymore. Maybe it's best to just remove it for now?
https://github.com/llvm/llvm-project/pull/227711
More information about the cfe-commits
mailing list