This is an archive of the discontinued LLVM Phabricator instance.

Register printer and context CL options with the toyc example
ClosedPublic

Authored by mehdi_amini on Jun 10 2020, 11:20 AM.

Details

Summary

The tutorial refers to invoking toyc with '-mlir-print-debuginfo' but
it wasn't registered anymore.

Diff Detail

Event Timeline

mehdi_amini created this revision.Jun 10 2020, 11:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2020, 11:20 AM
rriddle accepted this revision.Jun 10 2020, 11:21 AM

LGTM after resolving comments.

mlir/examples/toy/Ch7/toyc.cpp
249

Why are you adding pass pipeline parsers? This isn't used anywhere.

This revision is now accepted and ready to land.Jun 10 2020, 11:21 AM
mehdi_amini marked 2 inline comments as done.Jun 10 2020, 12:59 PM
mehdi_amini added inline comments.
mlir/examples/toy/Ch7/toyc.cpp
249

Bad copy/paste! Thanks for catching.

This revision was automatically updated to reflect the committed changes.
mehdi_amini marked an inline comment as done.