llvm-project/mlir/lib/Tools
River Riddle 361acbb362 [mlir] Refactor pass crash reproducer generation to be an assembly resource
We currently generate reproducer configurations using a comment placed at
the top of the generated .mlir file. This is kind of hacky given that comments
have no semantic context in the source file and can easily be dropped. This
strategy also wouldn't work if/when we have a bitcode format. This commit
switches to using an external assembly resource, which is verifiable/can
work with a hypothetical bitcode naturally/and removes the awkward processing
from mlir-opt for splicing comments and re-applying command line options. With
the removal of command line munging, this opens up new possibilities for
executing reproducers in memory.

Differential Revision: https://reviews.llvm.org/D126447
2022-06-29 12:14:02 -07:00
..
PDLL Use value_or instead of getValueOr (NFC) 2022-06-19 10:34:41 -07:00
lsp-server-support Don't use Optional::hasValue (NFC) 2022-06-20 11:33:56 -07:00
mlir-lsp-server [mlir][Tablegen-LSP] Add support for a basic TableGen language server 2022-05-16 16:03:51 -07:00
mlir-opt [mlir] Refactor pass crash reproducer generation to be an assembly resource 2022-06-29 12:14:02 -07:00
mlir-pdll-lsp-server [mlir] Don't use Optional::hasValue (NFC) 2022-06-20 11:22:37 -07:00
mlir-reduce [mlir][NFC] Move Parser.h to Parser/ 2022-03-07 01:05:38 -08:00
mlir-translate [mlir] Add `enableSplitting` and `insertMarkerInOutput` options to `splitAndProcessBuffer` 2022-06-28 15:42:35 -07:00
tblgen-lsp-server [mlir:LSP] Switch document sync mode to Incremental 2022-06-06 20:20:19 -07:00
CMakeLists.txt [mlir][Tablegen-LSP] Add support for a basic TableGen language server 2022-05-16 16:03:51 -07:00