forked from OSchip/llvm-project
[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:
parent
258c3aee54
commit
f59c279b72
|
@ -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
|
||||
|
|
|
@ -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._:
|
||||
|
|
Loading…
Reference in New Issue