llvm-project/mlir/test
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
..
Analysis [mlir] Update the CallGraph for nested symbol references, and simplify CallableOpInterface 2020-01-13 15:51:28 -08:00
Conversion [mlir] LLVM dialect: move ensureDistinctSuccessors out of std->LLVM conversion 2020-03-17 15:22:14 +01:00
Dialect [MLIR] Added llvm.fence 2020-03-17 17:53:37 +01:00
EDSC [mlir] Create a std op instead of chain of ops. 2020-03-10 15:01:44 -07:00
Examples [mlir][Tutorial] Make parsing an empty file print a better error. 2020-03-03 13:21:05 -08:00
IR Affine expr simplification for add of const multiple of same expression 2020-03-17 08:22:17 +05:30
Pass Refactor the way that pass options are specified. 2019-12-23 16:48:22 -08:00
Quantizer Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00
SDBM [MLIR] Fixes for BUILD_SHARED_LIBS=on 2020-03-06 13:25:18 -08:00
Target [MLIR] Added llvm.fence 2020-03-17 17:53:37 +01:00
Transforms [MLIR][NFC] update/clean up affine PDT, related utils, its test case 2020-03-17 06:12:16 +05:30
Unit Add build files and update README. 2019-03-30 11:23:22 -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
mlir-cpu-runner Revert "[MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries." 2020-02-29 11:52:08 -08:00
mlir-cuda-runner [MLIR] Add `and`, `or`, `xor`, `min`, `max` too gpu.all_reduce and the nvvm lowering 2020-03-11 14:07:04 +01:00
mlir-opt [MLIR] add show-dialects option for mlir-opt 2020-02-27 10:43:39 -08:00
mlir-tblgen [mlir] Automatically add DerivedAttribute op interface 2020-03-13 14:26:30 -07:00
mlir-vulkan-runner [mlir][spirv] Use spv.vce in spv.module and wire up (de)serialization 2020-03-12 19:37:45 -04:00
APITest.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
CMakeLists.txt [mlir] NFC - Split out RunnerUtils that don't require a C++ runtime 2020-02-27 14:14:11 -05:00
lit.cfg.py [mlir][spirv] Add mlir-vulkan-runner 2020-02-19 11:37:26 -05:00
lit.site.cfg.py.in [mlir][spirv] Add mlir-vulkan-runner 2020-02-19 11:37:26 -05:00