Skip to content

Commit

Permalink
[mlir] Fix typos in documentation (#110869)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hoffman authored Oct 12, 2024
1 parent 6976dee commit 02f42a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mlir/docs/DefiningDialects/Operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ The available directives are as follows:

* `ref ( input )`

- Represents a reference to the a variable or directive, that must have
- Represents a reference to a variable or directive, that must have
already been resolved, that may be used as a parameter to a `custom`
directive.
- Used to pass previously parsed entities to custom directives.
Expand Down
2 changes: 1 addition & 1 deletion mlir/docs/DefiningDialects/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void MyOp::setOtherValue(StringAttr newValue);
### Dependent Dialects
MLIR has a very large ecosystem, and contains dialects that server many different purposes. It
MLIR has a very large ecosystem, and contains dialects that serve many different purposes. It
is quite common, given the above, that dialects may want to reuse certain components from other
dialects. This may mean generating operations from those dialects during canonicalization, reusing
attributes or types, etc. When a dialect has a dependency on another, i.e. when it constructs and/or
Expand Down
2 changes: 1 addition & 1 deletion mlir/include/mlir/Dialect/Func/IR/FuncOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def FuncOp : Func_Op<"func", [

// A function that returns its argument twice:
func.func @count(%x: i64) -> (i64, i64)
attributes {fruit: "banana"} {
attributes {fruit = "banana"} {
return %x, %x: i64, i64
}

Expand Down

0 comments on commit 02f42a7

Please sign in to comment.