Skip to content

Commit d732ea1

Browse files
tim-hoffmanDanielCChen
authored andcommitted
[mlir] Fix typos in documentation (llvm#110869)
1 parent 5ea5298 commit d732ea1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mlir/docs/DefiningDialects/Operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ The available directives are as follows:
756756

757757
* `ref ( input )`
758758

759-
- Represents a reference to the a variable or directive, that must have
759+
- Represents a reference to a variable or directive, that must have
760760
already been resolved, that may be used as a parameter to a `custom`
761761
directive.
762762
- Used to pass previously parsed entities to custom directives.

mlir/docs/DefiningDialects/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void MyOp::setOtherValue(StringAttr newValue);
133133
134134
### Dependent Dialects
135135
136-
MLIR has a very large ecosystem, and contains dialects that server many different purposes. It
136+
MLIR has a very large ecosystem, and contains dialects that serve many different purposes. It
137137
is quite common, given the above, that dialects may want to reuse certain components from other
138138
dialects. This may mean generating operations from those dialects during canonicalization, reusing
139139
attributes or types, etc. When a dialect has a dependency on another, i.e. when it constructs and/or

mlir/include/mlir/Dialect/Func/IR/FuncOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def FuncOp : Func_Op<"func", [
251251

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

0 commit comments

Comments
 (0)