[flang-commits] [flang] [flang][rfc] Add represention of volatile references (PR #132486)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Mon Mar 24 09:24:36 PDT 2025


================
@@ -302,7 +302,7 @@ def fir_LoadOp : fir_OneResultOp<"load", [FirAliasTagOpInterface]> {
     or null.
   }];
 
-  let arguments = (ins Arg<AnyReferenceLike, "", [MemRead]>:$memref,
+  let arguments = (ins Arg<AnyReferenceLike, "">:$memref,
----------------
vzakhari wrote:

nit

You should be able to drop `Arg` and use just `AnyReferenceLike:$memref`, I think.

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


More information about the flang-commits mailing list