Skip to content

Commit

Permalink
Update DialectConversion.md
Browse files Browse the repository at this point in the history
line 164: typo? baz.add should be bar.add.
`bar.add` -> `foo.add`
  • Loading branch information
Tharindu Rusira authored and serge-sans-paille committed May 26, 2020
1 parent ff2743b commit a3b5ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/docs/DialectConversion.md
Expand Up @@ -161,7 +161,7 @@ a set of legal ones.
As an example, say you define a target that supports one operation: `foo.add`.
When providing the following patterns: [`bar.add` -> `baz.add`, `baz.add` ->
`foo.add`], the framework will automatically detect that it can legalize
`baz.add` -> `foo.add` even though a direct conversion does not exist. This
`bar.add` -> `foo.add` even though a direct conversion does not exist. This
means that you don’t have to define a direct legalization pattern for `bar.add`
-> `foo.add`.

Expand Down

0 comments on commit a3b5ccd

Please sign in to comment.