llvm-project/mlir/test/lib/Pass
River Riddle 7a7dcc171d Add support for generating reproducers on pass crash and failure.
This cl adds support for generating a .mlir file containing a reproducer for crashes and failures that happen during pass execution. The reproducer contains a comment detailing the configuration of the pass manager(e.g. the textual description of the pass pipeline that the pass manager was executing), along with the original input module.

Example Output:

// configuration: -pass-pipeline='func(cse, canonicalize), inline'
// note: verifyPasses=false

module {
  ...
}

PiperOrigin-RevId: 274088134
2019-10-10 19:36:54 -07:00
..
CMakeLists.txt Refactor PassTiming to support nested pipelines. 2019-09-08 19:58:13 -07:00
TestPassManager.cpp Add support for generating reproducers on pass crash and failure. 2019-10-10 19:36:54 -07:00