Skip to content

Commit

Permalink
[mlir] fix typo in AttributesAndTypes doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewuathe committed Jun 10, 2022
1 parent 175f22d commit 999f767
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mlir/docs/AttributesAndTypes.md
Expand Up @@ -24,7 +24,7 @@ names to attribute values.
Every SSA value, such as operation results or block arguments, in MLIR has a type
defined by the type system. MLIR has an open type system with no fixed list of types,
and there are no restrictions on the abstractions they represent. For example, take
the following [Arithemetic AddI operation](Dialects/ArithmeticOps.md#arithaddi-mlirarithaddiop):
the following [Arithmetic AddI operation](Dialects/ArithmeticOps.md#arithaddi-mlirarithaddiop):

```mlir
%result = arith.addi %lhs, %rhs : i64
Expand Down Expand Up @@ -295,7 +295,7 @@ documentation for more information on defining and using interfaces.

For each attribute or type, there are a few builders(`get`/`getChecked`)
automatically generated based on the parameters of the type. These are used to
construct instances of the correpsonding attribute or type. For example, given
construct instances of the corresponding attribute or type. For example, given
the following definition:

```tablegen
Expand Down Expand Up @@ -519,7 +519,7 @@ assembly format consists of literals, variables, and directives.

- A literal is a keyword or valid punctuation enclosed in backticks, e.g.
`` `keyword` `` or `` `<` ``.
- A variable is a parameter name preceeded by a dollar sign, e.g. `$param0`,
- A variable is a parameter name preceded by a dollar sign, e.g. `$param0`,
which captures one attribute or type parameter.
- A directive is a keyword followed by an optional argument list that defines
special parser and printer behaviour.
Expand Down

0 comments on commit 999f767

Please sign in to comment.