File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
include/mlir/Dialect/Func/IR Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -756,7 +756,7 @@ The available directives are as follows:
756
756
757
757
* ` ref ( input ) `
758
758
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
760
760
already been resolved, that may be used as a parameter to a ` custom `
761
761
directive.
762
762
- Used to pass previously parsed entities to custom directives.
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ void MyOp::setOtherValue(StringAttr newValue);
133
133
134
134
### Dependent Dialects
135
135
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
137
137
is quite common, given the above, that dialects may want to reuse certain components from other
138
138
dialects. This may mean generating operations from those dialects during canonicalization, reusing
139
139
attributes or types, etc. When a dialect has a dependency on another, i.e. when it constructs and/or
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ def FuncOp : Func_Op<"func", [
251
251
252
252
// A function that returns its argument twice:
253
253
func.func @count(%x: i64) -> (i64, i64)
254
- attributes {fruit: "banana"} {
254
+ attributes {fruit = "banana"} {
255
255
return %x, %x: i64, i64
256
256
}
257
257
You can’t perform that action at this time.
0 commit comments