[mlir] Fix usages of `run-reproducer`.

There is no need to specify `run-reproducer` explicitly anymore.

Differential Revision: https://reviews.llvm.org/D129010
This commit is contained in:
rdzhabarov 2022-07-01 18:31:20 +00:00
parent 258c3aee54
commit f59c279b72
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -128,8 +128,6 @@ class MlirOptKernel(Kernel):
'-o',
'-'
]
if code.startswith('// configuration:'):
command.append('--run-reproducer')
# Simple handling of repeating last line.
if code.endswith('\n_'):
if not self._: