[Mlir-commits] [mlir] [MLIR][NFC] Fix typo in addTypeAttributeConversion comment (PR #146977)
Xiaomin Liu
llvmlistbot at llvm.org
Thu Jul 3 17:06:46 PDT 2025
https://github.com/xl4624 updated https://github.com/llvm/llvm-project/pull/146977
>From a555313891c004a4ae40d7a9d575edb12e4ac451 Mon Sep 17 00:00:00 2001
From: Xiaomin Liu <xl4624 at nyu.edu>
Date: Thu, 3 Jul 2025 20:03:55 -0400
Subject: [PATCH] [MLIR][Docs] Fix typo in addTypeAttributeConversion comment
Signed-off-by: Xiaomin Liu <xl4624 at nyu.edu>
---
mlir/include/mlir/Transforms/DialectConversion.h | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/mlir/include/mlir/Transforms/DialectConversion.h b/mlir/include/mlir/Transforms/DialectConversion.h
index 81858812d2623..f6437657c9a93 100644
--- a/mlir/include/mlir/Transforms/DialectConversion.h
+++ b/mlir/include/mlir/Transforms/DialectConversion.h
@@ -221,12 +221,13 @@ class TypeConverter {
///
/// The conversion functions take a non-null Type or subclass of Type and a
/// non-null Attribute (or subclass of Attribute), and returns a
- /// `AttributeConversionResult`. This result can either contan an `Attribute`,
- /// which may be `nullptr`, representing the conversion's success,
- /// `AttributeConversionResult::na()` (the default empty value), indicating
- /// that the conversion function did not apply and that further conversion
- /// functions should be checked, or `AttributeConversionResult::abort()`
- /// indicating that the conversion process should be aborted.
+ /// `AttributeConversionResult`. This result can either contain an
+ /// `Attribute`, which may be `nullptr`, representing the conversion's
+ /// success, `AttributeConversionResult::na()` (the default empty value),
+ /// indicating that the conversion function did not apply and that further
+ /// conversion functions should be checked, or
+ /// `AttributeConversionResult::abort()` indicating that the conversion
+ /// process should be aborted.
///
/// Registered conversion functions are callled in the reverse of the order in
/// which they were registered.
More information about the Mlir-commits
mailing list