diff --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td --- a/mlir/include/mlir/IR/OpBase.td +++ b/mlir/include/mlir/IR/OpBase.td @@ -1292,6 +1292,7 @@ class DictionaryAttrBase : Attr { let storageType = [{ ::mlir::DictionaryAttr }]; + let constBuilderCall = "$_builder.getDictionaryAttr($0)"; let returnType = [{ ::mlir::DictionaryAttr }]; let valueType = NoneType; let convertFromStorage = "$_self";