[clang] [llvm] [AArch64] Implement the atomic store with hint intrinsic (PR #198316)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 15 20:25:10 PDT 2026


================
@@ -5421,10 +5421,10 @@ void SelectionDAGBuilder::visitAtomicStore(const StoreInst &I) {
     report_fatal_error("Cannot generate unaligned atomic store");
 
   auto Flags = TLI.getStoreMemOperandFlags(I, DAG.getDataLayout());
-
-  MachineFunction &MF = DAG.getMachineFunction();
   const MDNode *MemCacheHint =
       getMemCacheHintMetadata(I, I.getPointerOperandIndex());
+
+  MachineFunction &MF = DAG.getMachineFunction();
----------------
efriedma-quic wrote:

Unrelated change?

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


More information about the cfe-commits mailing list