llvm-project/mlir
River Riddle 5267f5e6b4 [mlir] Add a hook to PatternRewriter to allow for patterns to notify why a match failed.
Summary:
This revision adds a new hook, `notifyMatchFailure`, that allows for notifying the rewriter that a match failure is coming with the provided reason. This hook takes as a parameter a callback that fills a `Diagnostic` instance with the reason why the match failed. This allows for the rewriter to decide how this information can be displayed to the end-user, and may completely ignore it if desired(opt mode). For now, DialectConversion is updated to include this information in the debug output.

Differential Revision: https://reviews.llvm.org/D76203
2020-03-17 12:12:21 -07:00
..
cmake/modules [mlir] Add support for generating dialect declarations via tablegen. 2020-03-14 20:36:44 -07:00
docs [mlir] Add support for generating dialect declarations via tablegen. 2020-03-14 20:36:44 -07:00
examples [mlir] Add a new `ConstantLike` trait to better identify operations that represent a "constant". 2020-03-12 14:26:15 -07:00
include [mlir] Add a hook to PatternRewriter to allow for patterns to notify why a match failed. 2020-03-17 12:12:21 -07:00
lib [mlir] Add a hook to PatternRewriter to allow for patterns to notify why a match failed. 2020-03-17 12:12:21 -07:00
test [mlir] Add a hook to PatternRewriter to allow for patterns to notify why a match failed. 2020-03-17 12:12:21 -07:00
tools [mlir][vulkan-runner] Use C-compatible wrapper emission. 2020-03-17 07:54:41 -04:00
unittests [mlir][spirv] Use spv.vce in spv.module and wire up (de)serialization 2020-03-12 19:37:45 -04:00
utils [mlir][spirv] Support implied extensions and capabilities 2020-01-17 08:01:57 -05:00
.clang-format [mlir] add .clang-format 2019-03-29 12:41:43 -07:00
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt [mlir] Fix cross compiling MLIR 2020-03-14 19:18:40 +00:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.