This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][LinAlg][Docs] Add missing example code and other small fixes.
ClosedPublic

Authored by ergawy on Jan 28 2021, 1:24 AM.

Details

Summary

Fixes a few small issues in the docs. It seems one of the examples was missing
the expected MLIR output due to a copy-paste typo.

Diff Detail

Event Timeline

ergawy created this revision.Jan 28 2021, 1:24 AM
ergawy requested review of this revision.Jan 28 2021, 1:24 AM

Just updated the syntax to reflect the current situation and fixed a small copy-paste issue. Hopefully, nothing wrong was introduced :).

nicolasvasilache accepted this revision.Jan 28 2021, 1:48 AM

Looks great, thanks!
Just a few args_in / args_out remaining to delete and this is good to go.

mlir/docs/Dialects/Linalg.md
98–99

Now that you mention it, args_in and args_out are obsolete and derived form ins and outs + operand_segment_sizes :)
Could you please delete those 2 lines and hunt the other places ?

309

ah you removed them from here already, thanks!

331–332

I think you can also delete this line, I think I just used it to generate the IR but ended up copying the wrong IR .. :p thanks for fixing

This revision is now accepted and ready to land.Jan 28 2021, 1:48 AM
ergawy updated this revision to Diff 319799.Jan 28 2021, 2:18 AM

Handle review comments.

ergawy marked 3 inline comments as done.Jan 28 2021, 2:19 AM
This revision was landed with ongoing or failed builds.Jan 28 2021, 2:49 AM
This revision was automatically updated to reflect the committed changes.