[Mlir-commits] [mlir] Documentation typo fixes (PR #135732)
    Benjamin Maxwell 
    llvmlistbot at llvm.org
       
    Sat Sep 13 05:11:01 PDT 2025
    
    
  
https://github.com/MacDue updated https://github.com/llvm/llvm-project/pull/135732
>From 79567d6c21ca843ea8a5b86f79f0d80a8cb6b883 Mon Sep 17 00:00:00 2001
From: Tim Hoffman <timothy.hoffman at veridise.com>
Date: Mon, 14 Apr 2025 21:25:14 -0500
Subject: [PATCH 1/2] docs: fix typo in comment
---
 mlir/include/mlir/Transforms/DialectConversion.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/include/mlir/Transforms/DialectConversion.h b/mlir/include/mlir/Transforms/DialectConversion.h
index ecfa5248b7559..ae1b1048d52fa 100644
--- a/mlir/include/mlir/Transforms/DialectConversion.h
+++ b/mlir/include/mlir/Transforms/DialectConversion.h
@@ -231,7 +231,7 @@ class TypeConverter {
   }
 
   /// Register a conversion function for attributes within types. Type
-  /// converters may call this function in order to allow hoking into the
+  /// converters may call this function in order to allow hooking into the
   /// translation of attributes that exist within types. For example, a type
   /// converter for the `memref` type could use these conversions to convert
   /// memory spaces or layouts in an extensible way.
>From 99ca4b3ef2666173d1c31833a80b562dc0121c14 Mon Sep 17 00:00:00 2001
From: Tim Hoffman <timothy.hoffman at veridise.com>
Date: Mon, 14 Apr 2025 21:25:42 -0500
Subject: [PATCH 2/2] docs: use correct interface names in mem2reg pass
 description
---
 mlir/include/mlir/Transforms/Passes.td | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mlir/include/mlir/Transforms/Passes.td b/mlir/include/mlir/Transforms/Passes.td
index a39ab77fc8fb3..9f2395e5afb99 100644
--- a/mlir/include/mlir/Transforms/Passes.td
+++ b/mlir/include/mlir/Transforms/Passes.td
@@ -365,8 +365,8 @@ def Mem2Reg : Pass<"mem2reg"> {
   let description = [{
     This pass removes loads out of and stores into a memory slot, and turns
     them into direct uses of SSA values. This is done generically using the
-    `PromoteAllocationOpInterface`, `PromoteOpInterface` and
-    `PromoteMemOpInterface` interfaces.
+    `PromotableAllocationOpInterface`, `PromotableOpInterface` and
+    `PromotableMemOpInterface` interfaces.
 
     This pass will attempt to compute which definitions of the content of
     the memory slot reach operations that use the memory slot pointer. It
    
    
More information about the Mlir-commits
mailing list