diff --git a/mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td b/mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td --- a/mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td +++ b/mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td @@ -24,6 +24,7 @@ ]; let hasOperationAttrVerify = 1; + let usePropertiesForAttributes = 1; let extraClassDeclaration = [{ /// Name of the attribute attachable to the symbol table operation diff --git a/mlir/test/Dialect/Transform/ops-invalid.mlir b/mlir/test/Dialect/Transform/ops-invalid.mlir --- a/mlir/test/Dialect/Transform/ops-invalid.mlir +++ b/mlir/test/Dialect/Transform/ops-invalid.mlir @@ -350,7 +350,7 @@ transform.sequence failures(suppress) { ^bb0(%arg0: !transform.any_op): // expected-error @below {{requires attribute 'target'}} - "transform.include"() {failure_propagation_mode = 0} : () -> () + "transform.include"() {failure_propagation_mode = 1 : i32} : () -> () } }