[Mlir-commits] [mlir] 6584652 - [mlir][docs] Fix typos in QuickstartRewrites tutorial (#218849)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Aug 26 03:05:36 PDT 2026
Author: Mattéo Rizza Murgier
Date: 2026-08-26T12:05:31+02:00
New Revision: 658465287d4f494f557960a1d84ba618ddef908b
URL: https://github.com/llvm/llvm-project/commit/658465287d4f494f557960a1d84ba618ddef908b
DIFF: https://github.com/llvm/llvm-project/commit/658465287d4f494f557960a1d84ba618ddef908b.diff
LOG: [mlir][docs] Fix typos in QuickstartRewrites tutorial (#218849)
Added:
Modified:
mlir/docs/Tutorials/QuickstartRewrites.md
Removed:
################################################################################
diff --git a/mlir/docs/Tutorials/QuickstartRewrites.md b/mlir/docs/Tutorials/QuickstartRewrites.md
index cbb6f03e93e65..0aa1711414b9a 100644
--- a/mlir/docs/Tutorials/QuickstartRewrites.md
+++ b/mlir/docs/Tutorials/QuickstartRewrites.md
@@ -35,7 +35,7 @@ operations are generated from. To define an operation one needs to specify:
values that affect the behavior of the op) that are the inputs of/define the
behavior of the operation. The input operands may be named, the attributes
must be named.
-* The result(s) of the operation. These may again named or not.
+* The result(s) of the operation. These may again be named or not.
* Documentation of the operation. This includes a one-line summary as well as
a longer human-readable description of the operation.
* Dialect specific information. Additional information could be added to the
@@ -114,10 +114,10 @@ definition but the order of arguments of the dags do need to match.
To specify a pattern, both the source and resultant ops need to be defined using
TableGen.
-If this were a more advance pattern that the current framework could not express
-as destination then one could use a general native code fallback method. This
-consists of defining a pattern as well as adding a C++ function to perform the
-replacement:
+If this were a more advanced pattern that the current framework could not
+express as destination then one could use a general native code fallback method.
+This consists of defining a pattern as well as adding a C++ function to perform
+the replacement:
```tablegen
def createTFLLeakyRelu : NativeCodeCall<
@@ -163,7 +163,7 @@ use to collect all the generated patterns inside `patterns` and then use
Many simple rewrites can be expressed with a `matchAndRewrite` style of
pattern, e.g. when converting a multiply by a power of two into a shift. For
-these cases, the you can define the pattern as a simple function:
+these cases, you can define the pattern as a simple function:
```c++
static LogicalResult
More information about the Mlir-commits
mailing list