[Mlir-commits] [mlir] [MLIR][ODS] Add strict property assembly format mode (PR #196269)

Krzysztof Drewniak llvmlistbot at llvm.org
Fri May 8 06:56:27 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;
----------------
krzysz00 wrote:

Seconding that this sort of control flag is normal and fine 

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


More information about the Mlir-commits mailing list