llvm-project/mlir/test/lib
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
..
DeclarativeTransforms Move StandardOps/Ops.h to StandardOps/IR/Ops.h 2020-02-21 11:58:47 -08:00
Dialect Revert "[MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries." 2020-02-29 11:52:08 -08:00
IR [mlir][NFC] Move the operation interfaces out of Analysis/ and into a new Interfaces/ directory. 2020-03-10 12:45:45 -07:00
Pass [MLIR] Ensure that target_link_libraries() always has a keyword. 2020-03-06 09:14:01 -08:00
TestDialect [mlir] Add a hook to PatternRewriter to allow for patterns to notify why a match failed. 2020-03-17 12:12:21 -07:00
Transforms [mlir] Add a simplifying wrapper for generateCopy and expose it. 2020-03-11 16:22:31 -07:00
CMakeLists.txt [mlir][spirv] NFC: Move test passes to test/lib 2020-02-24 14:17:02 -05:00