[MLIR][NFC] fix memref type doc comment on dynamic shape

Fix memref type doc comment to state that -1 indicates a dynamically
shaped dimension and not any negative number.

Signed-off-by: Uday Bondhugula <uday@polymagelabs.com>

Differential Revision: https://reviews.llvm.org/D76557
This commit is contained in:
Uday Bondhugula 2020-03-21 17:31:47 +05:30
parent d1739f1e2f
commit d477df59cf
1 changed files with 2 additions and 2 deletions

View File

@ -416,8 +416,8 @@ public:
/// MemRef types represent a region of memory that have a shape with a fixed
/// number of dimensions. Each shape element can be a non-negative integer or
/// unknown (represented by any negative integer). MemRef types also have an
/// affine map composition, represented as an array AffineMap pointers.
/// unknown (represented by -1). MemRef types also have an affine map
/// composition, represented as an array AffineMap pointers.
class MemRefType : public Type::TypeBase<MemRefType, BaseMemRefType,
detail::MemRefTypeStorage> {
public: