How to dump/print only the modified IRs, not the whole moduleOp when convert to LLVM dialect?

Oh you should definitely watch the recording (or skim through) Open MLIR Meeting 2/23/2023: MLIR Actions: Tracing and Debugging MLIR-based Compilers - #2 by mehdi_amini
I have some cool demo there!

The doc: Action: Tracing and Debugging MLIR-based Compilers - MLIR

We should add more Actions to the codebase also (hook in the transformation dialect?)!

I think right now --log-actions-to wouldn’t be enough because it won’t print the IR after conversion, only before.

2 Likes