For historic reasons, RewritePattern
and ConversionPattern
have match
and rewrite
functions. With [mlir][IR] Deprecate `match` and `rewrite` functions by matthias-springer · Pull Request #130031 · llvm/llvm-project · GitHub, these functions were deprecated in favor of matchAndRewrite
. They will be removed soon.
Please update your code base to use matchAndRewrite
(e.g., by overriding matchAndRewrite
with an implementation that simply calls match
and rewrite
).