[Mlir-commits] [mlir] ebf22c4 - [mlir][memref] fix typo in documentation (NFC)

Peiming Liu llvmlistbot at llvm.org
Tue Feb 7 15:51:58 PST 2023


Author: Peiming Liu
Date: 2023-02-07T23:51:52Z
New Revision: ebf22c40b81bd6e1dc8b4c581654b0053271db94

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

LOG: [mlir][memref] fix typo in documentation (NFC)

Reviewed By: aartbik

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td b/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
index d9f4384546321..c5321b900bb47 100644
--- a/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
+++ b/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
@@ -233,7 +233,7 @@ def MemRef_ReallocOp : MemRef_Op<"realloc"> {
     aligned_realloc.
 
     ```mlir
-    %3 = memref.ralloc %src {alignment = 8} : memref<64xf32> to memref<124xf32>
+    %3 = memref.realloc %src {alignment = 8} : memref<64xf32> to memref<124xf32>
     ```
 
     Referencing the memref through the old SSA value after realloc is undefined
@@ -1155,7 +1155,7 @@ def LoadOp : MemRef_Op<"load",
 
   let arguments = (ins Arg<AnyMemRef, "the reference to load from",
                            [MemRead]>:$memref,
-                       Variadic<Index>:$indices,                       
+                       Variadic<Index>:$indices,
                        DefaultValuedOptionalAttr<BoolAttr, "false">:$nontemporal);
   let results = (outs AnyType:$result);
 
@@ -1691,7 +1691,7 @@ def MemRef_StoreOp : MemRef_Op<"store",
   let arguments = (ins AnyType:$value,
                        Arg<AnyMemRef, "the reference to store to",
                            [MemWrite]>:$memref,
-                       Variadic<Index>:$indices,                       
+                       Variadic<Index>:$indices,
                        DefaultValuedOptionalAttr<BoolAttr, "false">:$nontemporal);
 
   let builders = [


        


More information about the Mlir-commits mailing list