joker-eph wrote: This is really cool, shall we add some doc? The `print-after-all` is documented here: https://mlir.llvm.org/docs/PassManagement/#ir-printing https://github.com/llvm/llvm-project/pull/67840