[clang] [llvm] [AArch64] Implement the atomic store with hint intrinsic (PR #198316)
Kerry McLaughlin via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 26 08:16:34 PDT 2026
================
@@ -2885,6 +2885,19 @@ bool AArch64InstrInfo::isStridedAccess(const MachineInstr &MI) {
});
}
+AArch64AtomicStoreHint
+AArch64InstrInfo::decodeAtomicHintFlags(MachineMemOperand::Flags MMOFlags) {
+ unsigned AtomicHint = 0;
+ if (MMOFlags & MOAtomicHintBit0)
+ AtomicHint += 0b1;
+ if (MMOFlags & MOAtomicHintBit1)
+ AtomicHint += 0b10;
+
+ if (!isValidAArch64AtomicHintValue(AtomicHint))
----------------
kmclaughlin-arm wrote:
Removed, this isn't necessary.
https://github.com/llvm/llvm-project/pull/198316
More information about the cfe-commits
mailing list