Issue 171063
Summary [MLIR] Passes applied by the transform dialect should respect --mlir-print-* command line options
Labels mlir
Assignees
Reporter jwake
    Use of the `transform.apply_registered_pass` op in the Transform dialect does not currently print any IR regardless of the presence of `--mlir-print-{...}` command line options.

Context is I was using a transform sequence injected into my MLIR for quickly editing and testing a portion of an under-development compilation pipeline, and I was getting deeply confused when some but not all of my passes were printing their output.

I guess it's marginally unclear whether or not eg. 'after each pass' in the command line argument documentation should refer to top-level passes in the pipeline only or, as I'm suggesting here, 'literally any time a pass is executed by any means', but I feel that as the IR printing is intrinsically a fairly developer/debugging-oriented option, the more verbose interpretation should at least not be unpleasantly surprising to the user.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to