[Mlir-commits] [mlir] [mlir] Enable strict properties in assembly formats by default (PR #225742)

Adam Siemieniuk llvmlistbot at llvm.org
Fri Sep 25 03:47:15 PDT 2026


================
@@ -55,11 +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;
+  // 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`. Deprecated: setting this to 0
----------------
adam-smnk wrote:

nit: I'd move "Deprecated" to a new line for better readability

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


More information about the Mlir-commits mailing list