Skip to content

Commit ebf22c4

Browse files
author
Peiming Liu
committed
[mlir][memref] fix typo in documentation (NFC)
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D143532
1 parent 9c3ee99 commit ebf22c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def MemRef_ReallocOp : MemRef_Op<"realloc"> {
233233
aligned_realloc.
234234

235235
```mlir
236-
%3 = memref.ralloc %src {alignment = 8} : memref<64xf32> to memref<124xf32>
236+
%3 = memref.realloc %src {alignment = 8} : memref<64xf32> to memref<124xf32>
237237
```
238238

239239
Referencing the memref through the old SSA value after realloc is undefined
@@ -1155,7 +1155,7 @@ def LoadOp : MemRef_Op<"load",
11551155

11561156
let arguments = (ins Arg<AnyMemRef, "the reference to load from",
11571157
[MemRead]>:$memref,
1158-
Variadic<Index>:$indices,
1158+
Variadic<Index>:$indices,
11591159
DefaultValuedOptionalAttr<BoolAttr, "false">:$nontemporal);
11601160
let results = (outs AnyType:$result);
11611161

@@ -1691,7 +1691,7 @@ def MemRef_StoreOp : MemRef_Op<"store",
16911691
let arguments = (ins AnyType:$value,
16921692
Arg<AnyMemRef, "the reference to store to",
16931693
[MemWrite]>:$memref,
1694-
Variadic<Index>:$indices,
1694+
Variadic<Index>:$indices,
16951695
DefaultValuedOptionalAttr<BoolAttr, "false">:$nontemporal);
16961696

16971697
let builders = [

0 commit comments

Comments
 (0)