llvm-project/mlir/include
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
..
mlir [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-c Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00