Comment is stale now that kDynamic is defined as intmin instead of -1.
Confirmed that implementation in `parseDimensionListRanked` uses kDynamic.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D140994
}
/// Parse a dimension list of a tensor or memref type. This populates the
- /// dimension list, using -1 for the `?` dimensions if `allowDynamic` is set
- /// and errors out on `?` otherwise. Parsing the trailing `x` is configurable.
+ /// dimension list, using ShapedType::kDynamic for the `?` dimensions if
+ /// `allowDynamic` is set and errors out on `?` otherwise. Parsing the
+ /// trailing `x` is configurable.
///
/// dimension-list ::= eps | dimension (`x` dimension)*
/// dimension-list-with-trailing-x ::= (dimension `x`)*
}
/// Parse a dimension list of a tensor or memref type. This populates the
-/// dimension list, using -1 for the `?` dimensions if `allowDynamic` is set and
-/// errors out on `?` otherwise. Parsing the trailing `x` is configurable.
+/// dimension list, using ShapedType::kDynamic for the `?` dimensions if
+/// `allowDynamic` is set and errors out on `?` otherwise. Parsing the trailing
+/// `x` is configurable.
///
/// dimension-list ::= eps | dimension (`x` dimension)*
/// dimension-list-with-trailing-x ::= (dimension `x`)*