diff --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td index 9f2ae6fd8b804..4af64dfa75136 100644 --- a/mlir/include/mlir/IR/OpBase.td +++ b/mlir/include/mlir/IR/OpBase.td @@ -1437,7 +1437,8 @@ def IndexListArrayAttr : TypedArrayAttrBase; // Attribute information for an Attribute field within a StructAttr. -class StructFieldAttr { +class StructFieldAttr + : Deprecated<"StructAttr is being removed on June 20"> { // Name of this field in the StructAttr. string name = thisName; @@ -1450,6 +1451,7 @@ class StructFieldAttr { // useful when representing data that would normally be in a structure. class StructAttr attributes> : + Deprecated<"StructAttr is being removed on June 20">, DictionaryAttrBase()">, "DictionaryAttr with field(s): " #