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 @@ -1078,6 +1078,9 @@ let convertFromStorage = fromStorage; } +def LocationAttr : Attr()">, + "location attribute">; + def BoolAttr : Attr()">, "bool attribute"> { let storageType = [{ ::mlir::BoolAttr }]; let returnType = [{ bool }]; @@ -1477,6 +1480,9 @@ Attr elementAttr = element; } +def LocationArrayAttr : TypedArrayAttrBase; + def AffineMapArrayAttr : TypedArrayAttrBase { let constBuilderCall = "$_builder.getAffineMapArrayAttr($0)";