[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:02:45 PDT 2020
hanchung created this revision.
hanchung added reviewers: rriddle, mehdi_amini.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
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.253518.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200330/2b3f54f0/attachment-0001.bin>
More information about the llvm-commits
mailing list