[mlir] NFC: tiny fix in comment.

Reviewed By: ftynse, mehdi_amini

Differential Revision: https://reviews.llvm.org/D91430
This commit is contained in:
Christian Sigg 2020-11-13 17:22:41 +01:00
parent 9ace4b337f
commit 906220b5e9
2 changed files with 3 additions and 3 deletions

View File

@ -682,8 +682,8 @@ inline bool TensorType::classof(Type type) {
/// outer dimension is `1` and the distance between two consecutive elements
/// along the inner dimension is `64`.
///
/// If a simple strided form cannot be extracted from the composition of the
/// layout map, returns llvm::None.
/// Returns whether a simple strided form can be extracted from the composition
/// of the layout map.
///
/// The convention is that the strides for dimensions d0, .. dn appear in
/// order to make indexing intuitive into the result.

View File

@ -118,7 +118,7 @@ public:
/// dynamic type casting.
TypeID getTypeID() { return impl->getAbstractType().getTypeID(); }
/// Return the LLVMContext in which this type was uniqued.
/// Return the MLIRContext in which this type was uniqued.
MLIRContext *getContext() const;
/// Get the dialect this type is registered to.