[Mlir-commits] [mlir] f59c279 - [mlir] Fix usages of `run-reproducer`.
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Jul 1 11:36:53 PDT 2022
Author: rdzhabarov
Date: 2022-07-01T18:36:07Z
New Revision: f59c279b7255f65455270cfad96038b055884c03
URL: https://github.com/llvm/llvm-project/commit/f59c279b7255f65455270cfad96038b055884c03
DIFF: https://github.com/llvm/llvm-project/commit/f59c279b7255f65455270cfad96038b055884c03.diff
LOG: [mlir] Fix usages of `run-reproducer`.
There is no need to specify `run-reproducer` explicitly anymore.
Differential Revision: https://reviews.llvm.org/D129010
Added:
Modified:
mlir/docs/PassManagement.md
mlir/utils/jupyter/mlir_opt_kernel/kernel.py
Removed:
################################################################################
diff --git a/mlir/docs/PassManagement.md b/mlir/docs/PassManagement.md
index 727166860e27..255d1a79163d 100644
--- a/mlir/docs/PassManagement.md
+++ b/mlir/docs/PassManagement.md
@@ -1284,9 +1284,9 @@ module {
#-}
```
-The configuration dumped can be passed to `mlir-opt` by specifying
-`-run-reproducer` flag. This will result in parsing the configuration of the reproducer
-and adjusting the necessary opt state, e.g. configuring the pass manager, context, etc.
+The configuration dumped can be passed to `mlir-opt`. This will result in
+parsing the configuration of the reproducer and adjusting the necessary opt
+state, e.g. configuring the pass manager, context, etc.
Beyond specifying a filename, one can also register a `ReproducerStreamFactory`
function that would be invoked in the case of a crash and the reproducer written
diff --git a/mlir/utils/jupyter/mlir_opt_kernel/kernel.py b/mlir/utils/jupyter/mlir_opt_kernel/kernel.py
index 48029012dbd9..85462dad83a3 100644
--- a/mlir/utils/jupyter/mlir_opt_kernel/kernel.py
+++ b/mlir/utils/jupyter/mlir_opt_kernel/kernel.py
@@ -128,8 +128,6 @@ def run(code):
'-o',
'-'
]
- if code.startswith('// configuration:'):
- command.append('--run-reproducer')
# Simple handling of repeating last line.
if code.endswith('\n_'):
if not self._:
More information about the Mlir-commits
mailing list