HomePhabricator

[mlir] Add a new `print-ir-after-failure` IR pass printing flag

Authored by rriddle on May 19 2021, 4:53 PM.

Description

[mlir] Add a new print-ir-after-failure IR pass printing flag

This flag will print the IR after a pass only in the case where the pass failed. This can be useful to more easily view the invalid IR, without needing to print after every pass in the pipeline.

Differential Revision: https://reviews.llvm.org/D101853

Details

Committed
rriddleMay 19 2021, 4:54 PM
Differential Revision
D101853: [mlir] Add a new `print-ir-after-failure` IR pass printing flag
Parents
rGac06f6d06de4: [test] Fix test
Branches
Unknown
Tags
Unknown