[mlir][memref] fix typo in documentation (NFC)
authorPeiming Liu <peiming@google.com>
Tue, 7 Feb 2023 23:49:29 +0000 (23:49 +0000)
committerPeiming Liu <peiming@google.com>
Tue, 7 Feb 2023 23:51:52 +0000 (23:51 +0000)
Reviewed By: aartbik

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

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

index d9f4384..c5321b9 100644 (file)
@@ -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 = [