aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-03-10 12:12:50 +0900
committerGitHub <noreply@github.com>2024-03-10 12:12:50 +0900
commit9b6bd7093ccb07ba8d6987220b2703549af02933 (patch)
tree5705e8bf20d1c70e57b550b5d98a413c2642a086 /llvm/utils/FileCheck/FileCheck.cpp
parentc1029b6a9b423320ec8f0d1cde24d8f4d8139f63 (diff)
downloadllvm-9b6bd7093ccb07ba8d6987220b2703549af02933.zip
llvm-9b6bd7093ccb07ba8d6987220b2703549af02933.tar.gz
llvm-9b6bd7093ccb07ba8d6987220b2703549af02933.tar.bz2
[mlir][IR] Add listener notifications for pattern begin/end (#84131)
This commit adds two new notifications to `RewriterBase::Listener`: * `notifyPatternBegin`: Called when a pattern application begins during a greedy pattern rewrite or dialect conversion. * `notifyPatternEnd`: Called when a pattern application finishes during a greedy pattern rewrite or dialect conversion. The listener infrastructure already provides a `notifyMatchFailure` callback that notifies about the reason for a pattern match failure. The two new notifications provide additional information about pattern applications. This change is in preparation of improving the handle update mechanism in the `apply_conversion_patterns` transform op.
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions