[Mlir-commits] [mlir] 3947422 - [mlir] Fix typos in comments in 1:N type conversion utils. (NFC)

Ingo Müller llvmlistbot at llvm.org
Thu Mar 30 05:06:47 PDT 2023


Author: Ingo Müller
Date: 2023-03-30T12:06:42Z
New Revision: 3947422a77b8f4b191039daac16b9859e0f47f60

URL: https://github.com/llvm/llvm-project/commit/3947422a77b8f4b191039daac16b9859e0f47f60
DIFF: https://github.com/llvm/llvm-project/commit/3947422a77b8f4b191039daac16b9859e0f47f60.diff

LOG: [mlir] Fix typos in comments in 1:N type conversion utils. (NFC)

Reviewed By: ingomueller-net

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

Added: 
    

Modified: 
    mlir/include/mlir/Transforms/OneToNTypeConversion.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Transforms/OneToNTypeConversion.h b/mlir/include/mlir/Transforms/OneToNTypeConversion.h
index 25beee28c6ed5..5992fc4204935 100644
--- a/mlir/include/mlir/Transforms/OneToNTypeConversion.h
+++ b/mlir/include/mlir/Transforms/OneToNTypeConversion.h
@@ -183,11 +183,11 @@ class OneToNConversionPattern : public RewritePatternWithConverter {
 public:
   using RewritePatternWithConverter::RewritePatternWithConverter;
 
-  /// This function has to be implemented by base classes and is called from the
-  /// usual overloads. Like in "normal" `DialectConversion`, the function is
+  /// This function has to be implemented by derived classes and is called from
+  /// the usual overloads. Like in "normal" `DialectConversion`, the function is
   /// provided with the converted operands (which thus have target types). Since
-  /// 1:N conversion are supported, there is usually no 1:1 relationship between
-  /// the original and the converted operands. Instead, the provided
+  /// 1:N conversions are supported, there is usually no 1:1 relationship
+  /// between the original and the converted operands. Instead, the provided
   /// `operandMapping` can be used to access the converted operands that
   /// correspond to a particular original operand. Similarly, `resultMapping`
   /// is provided to help with assembling the result values, which may have 1:N


        


More information about the Mlir-commits mailing list