[mlir] Fix comma+typo in MLIR toy tutorial chapter 3.
authorMatthias Kramm <kramm@google.com>
Fri, 28 Feb 2020 01:50:41 +0000 (17:50 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Fri, 28 Feb 2020 01:51:06 +0000 (17:51 -0800)
Differential Revision: https://reviews.llvm.org/D75258

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

index 6e7ced2..c328182 100644 (file)
@@ -25,7 +25,7 @@ use of DRR requires that the operations be defined using ODS, as described in
 ## 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 @@ void double_transpose(int A[N][M]) {
 }
 ```
 
-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`: