Register printer and context CL options with the toyc example
authorMehdi Amini <joker.eph@gmail.com>
Wed, 10 Jun 2020 18:18:43 +0000 (18:18 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 10 Jun 2020 19:59:40 +0000 (19:59 +0000)
commit51a822724dae9178f21b4b5ffc1ad1a45273295a
treede2026bce9650a0f25d1b95fd503ba999b79b6d1
parent2e009dbcb3e373a59e6e84dce6d51ae8a29f60a5
Register printer and context CL options with the toyc example

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

Differential Revision: https://reviews.llvm.org/D81604
mlir/examples/toy/Ch2/toyc.cpp
mlir/examples/toy/Ch3/toyc.cpp
mlir/examples/toy/Ch4/toyc.cpp
mlir/examples/toy/Ch5/toyc.cpp
mlir/examples/toy/Ch6/toyc.cpp
mlir/examples/toy/Ch7/toyc.cpp