llvm-project/mlir/docs
River Riddle 92469ca027 [mlir] Refactor the implementation of pass crash reproducers
The current implementation has several key limitations and weirdness, e.g local reproducers don't support dynamic pass pipelines, error messages don't include the passes that failed, etc. This revision refactors the implementation to support more use cases, and also be much cleaner.

The main change in this revision, aside from moving the implementation out of Pass.cpp and into its own file, is the addition of a crash recovery pass instrumentation. For local reproducers, this instrumentation handles setting up the recovery context before executing each pass. For global reproducers, the instrumentation is used to provide a more detailed error message, containing information about which passes are running and on which operations.

Example of new message:

```
error: Failures have been detected while processing an MLIR pass pipeline
note: Pipeline failed while executing [`TestCrashRecoveryPass` on 'module' operation: @foo]: reproducer generated at `crash-recovery.mlir.tmp`
```

Differential Revision: https://reviews.llvm.org/D101854
2021-05-19 16:59:53 -07:00
..
Bindings Move MLIR python sources to mlir/python. 2021-05-03 18:36:48 +00:00
Dialects [mlir][docs] Fix minor typos in vector dialect docs 2021-05-19 14:20:28 -07:00
Rationale [mlir] add support for index type in vectors. 2021-04-08 08:17:13 +00:00
Tools [mlir] Add hover support to mlir-lsp-server 2021-05-07 18:09:01 -07:00
Tutorials [mlir] Refactor the forward dataflow propagation in SCCP into a generic framework 2021-04-26 19:39:46 -07:00
includes/img [mlir][mlir-lsp-server] Add some initial documentation on the MLIR LSP server 2021-04-21 14:44:37 -07:00
BufferDeallocationInternals.md Revert "Revert "[mlir] Introduce CloneOp and adapt test cases in BufferDeallocation."" 2021-03-31 09:49:09 +02:00
Bufferization.md [PatternMatch] Big mechanical rename OwningRewritePatternList -> RewritePatternSet and insert -> add. NFC 2021-03-22 17:20:50 -07:00
CAPI.md [mlir] NFC: fix trivial typos 2021-01-07 02:36:02 +09:00
CMakeLists.txt Remove CMake configuration for Sphinx targets in MLIR 2020-03-12 01:28:38 +00:00
Canonicalization.md [ODS] Implement a new 'hasCanonicalizeMethod' bit for cann patterns. 2021-03-23 13:45:45 -07:00
ConversionToLLVMDialect.md [mlir] Add better support for f80 and f128 2021-01-15 10:29:48 -05:00
DataLayout.md Add default DataLayout support for complex numbers 2021-04-19 11:36:12 +02:00
DebugActions.md [mlir] Add support for DebugCounters using the new DebugAction infrastructure 2021-02-23 01:01:17 -08:00
DeclarativeRewrites.md Support NativeCodeCall binding in rewrite pattern. 2021-05-10 09:29:27 +08:00
Diagnostics.md [mlir][docs] Remove the BuiltinDialect documentation from langref and generate it from ODS 2021-03-19 18:21:33 -07:00
DialectConversion.md [mlir][doc] Correct method names in DialectConversion.md to match the code. 2020-12-02 00:04:07 -08:00
EDSC.md [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
Interfaces.md Add a mechanism for Dialects to provide a fallback for OpInterface 2021-03-24 08:41:40 +00:00
LLVMDialectMemRefConvention.md [mlir] fix misformatted documentation for memref convention 2021-05-17 15:33:20 +02:00
LangRef.md [mlir][docs] Fix broken link to Toy example 2021-05-18 07:47:12 +00:00
OpDefinitions.md [ODS] Implement a new 'hasCanonicalizeMethod' bit for cann patterns. 2021-03-23 13:45:45 -07:00
PassManagement.md [mlir] Refactor the implementation of pass crash reproducers 2021-05-19 16:59:53 -07:00
Passes.md [mlir] Add tensor passes to passes.md 2020-12-23 16:13:03 -08:00
PatternRewriter.md [mlir] Allow derived rewrite patterns to define a non-virtual `initialize` hook 2021-05-18 14:40:32 -07:00
Quantization.md [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
README.txt [mlir] Add short readme.txt to docs directory 2020-02-18 08:35:22 -08:00
SPIRVToLLVMDialectConversion.md [MLIR][SPIRV] Rename `spv.selection` to `spv.mlir.selection`. 2021-03-06 16:05:31 +01:00
ShapeInference.md [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
SymbolsAndSymbolTables.md [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
Traits.md Define a `NoTerminator` traits that allows operations with a single block region to not provide a terminator 2021-03-25 03:59:03 +00:00
doxygen-mainpage.dox [mlir] Bootstrap doxygen config 2020-01-25 09:31:59 -08:00
doxygen.cfg.in [mlir] NFC: fix trivial typo 2020-04-29 14:47:56 +09:00

README.txt

MLIR documentation
==================

Please note mlir.llvm.org is where MLIR's rendered documentation is displayed.
The viewing experience on GitHub or elsewhere may not match those of the
website. For any changes please verify instead that they work on the main
website first.

See https://github.com/llvm/mlir-www for the website generation information.