[Mlir-commits] [mlir] [mlir][core] in -mlir-print-ir-*, dump the pass options as well (PR #195198)
Matthias Springer
llvmlistbot at llvm.org
Sat May 2 01:06:50 PDT 2026
================
@@ -79,7 +90,7 @@ void IRPrinterInstrumentation::runBeforePass(Pass *pass, Operation *op) {
out << "// -----// IR Dump Before " << pass->getName() << " ("
----------------
matthias-springer wrote:
How about printing `printAsTextualPipeline` instead of `pass->getArgument()`, as part of the `// IR Dump Before` line? Or is that more difficult to read?
```
// -----// IR Dump Before CanonicalizerPass: canonicalize{cse-between-iterations=false max-iterations=5 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}
```
https://github.com/llvm/llvm-project/pull/195198
More information about the Mlir-commits
mailing list