[Mlir-commits] [mlir] 906220b - [mlir] NFC: tiny fix in comment.

Christian Sigg llvmlistbot at llvm.org
Sun Nov 15 01:39:21 PST 2020


Author: Christian Sigg
Date: 2020-11-15T10:39:10+01:00
New Revision: 906220b5e9b3fc642c4b6c6401936c8f32e0e0d9

URL: https://github.com/llvm/llvm-project/commit/906220b5e9b3fc642c4b6c6401936c8f32e0e0d9
DIFF: https://github.com/llvm/llvm-project/commit/906220b5e9b3fc642c4b6c6401936c8f32e0e0d9.diff

LOG: [mlir] NFC: tiny fix in comment.

Reviewed By: ftynse, mehdi_amini

Differential Revision: https://reviews.llvm.org/D91430

Added: 
    

Modified: 
    mlir/include/mlir/IR/StandardTypes.h
    mlir/include/mlir/IR/Types.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/StandardTypes.h b/mlir/include/mlir/IR/StandardTypes.h
index dc050f135390..5cd2e8a117d0 100644
--- a/mlir/include/mlir/IR/StandardTypes.h
+++ b/mlir/include/mlir/IR/StandardTypes.h
@@ -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.

diff  --git a/mlir/include/mlir/IR/Types.h b/mlir/include/mlir/IR/Types.h
index 09f49d8f7b4f..bd5228ff366e 100644
--- a/mlir/include/mlir/IR/Types.h
+++ b/mlir/include/mlir/IR/Types.h
@@ -118,7 +118,7 @@ class Type {
   /// 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.


        


More information about the Mlir-commits mailing list