[Mlir-commits] [mlir] [mlir][Pass] Enable the option for reproducer generation without crashing (PR #75421)

Mehdi Amini llvmlistbot at llvm.org
Tue Jan 2 06:38:25 PST 2024


================
@@ -228,6 +232,12 @@ class MlirOptMainConfig {
 
   /// Verify that the input IR round-trips perfectly.
   bool verifyRoundtripFlag = false;
+
+  /// The reproducer output filename (no crash required).
+  std::string reproduerFilenameFlag = "";
+
+  /// Generate a reproducer file at reproduerFilename (no crash required).
----------------
joker-eph wrote:

```suggestion
  /// Generate a reproducer file at reproducerFilename (no crash required).
```

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


More information about the Mlir-commits mailing list