[PATCH] D75258: Fix comma+typo in MLIR toy tutorial chapter 3.

Matthias Kramm via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 07:36:49 PST 2020


matthiaskramm created this revision.
matthiaskramm added a reviewer: rriddle.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, mehdi_amini.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75258

Files:
  mlir/docs/Tutorials/Toy/Ch-3.md


Index: mlir/docs/Tutorials/Toy/Ch-3.md
===================================================================
--- mlir/docs/Tutorials/Toy/Ch-3.md
+++ mlir/docs/Tutorials/Toy/Ch-3.md
@@ -25,7 +25,7 @@
 ## Optimize Transpose using C++ style pattern-match and rewrite
 
 Let's start with a simple pattern and try to eliminate a sequence of two
-transpose that cancel out: `transpose(transpose(X)) -> X`. Here is the
+transposes that cancel out: `transpose(transpose(X)) -> X`. Here is the
 corresponding Toy example:
 
 ```toy
@@ -70,7 +70,7 @@
 }
 ```
 
-For a simple C++ approach to rewrite involving matching a tree-like pattern in
+For a simple C++ approach to rewrite, involving matching a tree-like pattern in
 the IR and replacing it with a different set of operations, we can plug into the
 MLIR `Canonicalizer` pass by implementing a `RewritePattern`:
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75258.246942.patch
Type: text/x-patch
Size: 857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200227/d38f8073/attachment.bin>


More information about the llvm-commits mailing list