[Mlir-commits] [mlir] [mlir][Transforms] Add 1:N `matchAndRewrite` overload (PR #116470)

Ingo Müller llvmlistbot at llvm.org
Thu Nov 21 02:52:34 PST 2024


================
@@ -703,7 +693,8 @@ class SparseSliceGetterOpConverter : public OpConversionPattern<Op> {
 public:
   using OpConversionPattern<Op>::OpConversionPattern;
   LogicalResult
-  matchAndRewrite(Op op, typename Op::Adaptor adaptor,
+  matchAndRewrite(Op op,
+                  typename OpConversionPattern<Op>::OneToNOpAdaptor adaptor,
----------------
ingomueller-net wrote:

Nit: move this to a `using` directive at class level?

https://github.com/llvm/llvm-project/pull/116470


More information about the Mlir-commits mailing list