[flang-commits] [flang] [flang][rfc] Add represention of volatile references (PR #132486)
Kiran Chandramohan via flang-commits
flang-commits at lists.llvm.org
Mon Mar 24 10:22:55 PDT 2025
================
@@ -363,18 +363,22 @@ def fir_ReferenceType : FIR_Type<"Reference", "ref"> {
The type of a reference to an entity in memory.
}];
- let parameters = (ins "mlir::Type":$eleTy);
+ let parameters = (ins
+ "mlir::Type":$eleTy,
+ DefaultValuedParameter<"bool", "false">:$isVol);
let skipDefaultBuilders = 1;
----------------
kiranchandramohan wrote:
Nit: Would assemblyformat work?
https://github.com/llvm/llvm-project/pull/132486
More information about the flang-commits
mailing list