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

Puyan Lotfi llvmlistbot at llvm.org
Wed Dec 13 22:55:09 PST 2023


plotfi wrote:

> > @joker-eph Ah, do you mean then to invoke something like RecoveryReproducerContext::generate() from the runtime?
> 
> Yes exactly!
> 
> If we need to extract the implementation of `RecoveryReproducerContext::generate()` as a more easily reusable API, that's an OK refactoring of course.

I will have to dive a little deeper into the current implementation to see how things could be setup without doing it in the pass manager directly. Ideally I'd want a similar mechanism to how the pass manager does it where you dump out the reproducer after everything has run. The pass manager's finalizer just made this kind of conveniently easy, but I am not certain if it is the right approach either. 

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


More information about the Mlir-commits mailing list