This is an archive of the discontinued LLVM Phabricator instance.

[mlir][transform][tutorial] Make snippets of Ch1 run.
ClosedPublic

Authored by ingomueller-net on Jul 10 2023, 1:02 AM.

Details

Summary

The snippets had several problems including mismatching argument names,
stray or missing symbols, and missing updates to changes in transform
ops. I also rewrapped those comments in the snippets that I touchted
that exceeded 80 characters.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJul 10 2023, 1:02 AM
ingomueller-net requested review of this revision.Jul 10 2023, 1:02 AM
mlir/docs/Tutorials/transform/Ch1.md
194

This took me forever to find :/ Maybe there should be a check whether the op name actually exists or not?

ftynse accepted this revision.Jul 10 2023, 1:09 AM

Thanks! There was also a suggestion in the chat to add a link from the snippet to the test file. Tests are exercised by bots and presumbits so they should be up-to-date.

This revision is now accepted and ready to land.Jul 10 2023, 1:09 AM

(Rebasing to solve build failure.)