[llvm-branch-commits] [mlir] [mlir][Transforms] Add 1:N `matchAndRewrite` overload (PR #116470)
Markus Böck via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Nov 16 02:05:55 PST 2024
================
@@ -537,6 +537,10 @@ class ConversionPattern : public RewritePattern {
ConversionPatternRewriter &rewriter) const {
llvm_unreachable("unimplemented rewrite");
}
+ virtual void rewrite(Operation *op, ArrayRef<ValueRange> operands,
----------------
zero9178 wrote:
Think it'd be useful here to add doc comments how this differs from the other rewrite overload so that readers know when they'd want to (or are required to) use this overload rather than the other.
https://github.com/llvm/llvm-project/pull/116470
More information about the llvm-branch-commits
mailing list