================
@@ -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();
----------------
kmclaughlin-arm wrote:

Thanks, I've removed this.

https://github.com/llvm/llvm-project/pull/198316
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to