[Mlir-commits] [mlir] [MLIR][ODS] Add strict property assembly format mode (PR #196269)
Jacques Pienaar
llvmlistbot at llvm.org
Thu May 7 18:47:00 PDT 2026
================
@@ -55,6 +55,12 @@ class Dialect {
// dialect declaration.
code extraClassDeclaration = "";
+ // If this dialect should require declarative parsers for property-backed
+ // operations to bind every inherent attribute and property directly in the
+ // custom assembly format, or otherwise cover them with `prop-dict`. This
+ // stricter mode is disabled by default for now.
+ bit useStrictPropertiesInAssemblyFormat = 0;
----------------
jpienaar wrote:
I don't see this as defining a dialect property vs an option to the generator (e.g., its a flag to the asm parser generator being embedded in dialect definition).
https://github.com/llvm/llvm-project/pull/196269
More information about the Mlir-commits
mailing list