diff --git a/mlir/include/mlir/IR/StandardTypes.h b/mlir/include/mlir/IR/StandardTypes.h --- a/mlir/include/mlir/IR/StandardTypes.h +++ b/mlir/include/mlir/IR/StandardTypes.h @@ -682,8 +682,8 @@ /// 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. diff --git a/mlir/include/mlir/IR/Types.h b/mlir/include/mlir/IR/Types.h --- a/mlir/include/mlir/IR/Types.h +++ b/mlir/include/mlir/IR/Types.h @@ -118,7 +118,7 @@ /// 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.