[PATCH] D77040: [mlir] Fix typos in DeclarativeRewrites.md
Han-Chung Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 30 01:35:49 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG65c703137094: [mlir] Fix typos in DeclarativeRewrites.md (authored by hanchung).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77040/new/
https://reviews.llvm.org/D77040
Files:
mlir/docs/DeclarativeRewrites.md
Index: mlir/docs/DeclarativeRewrites.md
===================================================================
--- mlir/docs/DeclarativeRewrites.md
+++ mlir/docs/DeclarativeRewrites.md
@@ -407,7 +407,7 @@
```
In the above, `$_self` is substituted by the attribute bound by `$attr`, which
-is `OnAttrOp`'s array attribute.
+is `OneAttrOp`'s array attribute.
Positional placeholders will be substituted by the `dag` object parameters at
the `NativeCodeCall` use site. For example, if we define `SomeCall :
@@ -469,7 +469,7 @@
```tablegen
def : Pattern<(AddIOp $lhs, $rhs),
- [(StoreOp (AllocOp:$mem (ShapeOp %lhs)), (AddIOp $lhs, $rhs)),
+ [(StoreOp (AllocOp:$mem (ShapeOp $lhs)), (AddIOp $lhs, $rhs)),
(LoadOp $mem)];
```
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77040.253524.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200330/bb8f3629/attachment-0001.bin>
More information about the llvm-commits
mailing list