File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
mlir/include/mlir/Interfaces Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ class ShapedTypeComponents {
7676 Attribute attr;
7777};
7878
79+ // / Range of values and shapes (corresponding effectively to Shapes dialect's
80+ // / ValueShape type concept).
81+ using ValueShapeRange = ValueRange;
82+
7983namespace detail {
8084// Helper function to infer return tensor returns types given element and shape
8185// inference function.
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def InferShapedTypeOpInterface : OpInterface<"InferShapedTypeOpInterface"> {
9393 /*methodName=*/"inferReturnTypeComponents",
9494 /*args=*/(ins "::mlir::MLIRContext*":$context,
9595 "::mlir::Optional<::mlir::Location>":$location,
96- "::mlir::ValueRange ":$operands,
96+ "::mlir::ValueShapeRange ":$operands,
9797 "::mlir::DictionaryAttr":$attributes,
9898 "::mlir::RegionRange":$regions,
9999 "::mlir::SmallVectorImpl<::mlir::ShapedTypeComponents>&":
You can’t perform that action at this time.
0 commit comments