[Mlir-commits] [mlir] [MLIR] Move the `mlir-generate-reproducer` option to be a PassManager option instead of mlir-opt (PR #159004)

Mehdi Amini llvmlistbot at llvm.org
Wed Sep 17 03:19:50 PDT 2025


================
@@ -282,6 +282,11 @@ class PassManager : public OpPassManager {
   /// Add the provided instrumentation to the pass manager.
   void addInstrumentation(std::unique_ptr<PassInstrumentation> pi);
 
+  /// Enable or disable the printing of pass manager reproducer.
+  void enableGeneratePassManagerReproducer(std::string filename) {
----------------
joker-eph wrote:

It's tricky because it's pretty ingrained right now, see many layers down how it'll end-up to: https://github.com/llvm/llvm-project/blob/0a7a7d56fc882653335beba0d1f8ea9f26089c22/mlir/lib/Pass/PassCrashRecovery.cpp#L431

https://github.com/llvm/llvm-project/pull/159004


More information about the Mlir-commits mailing list