[Mlir-commits] [mlir] [mlir][linalg] convert arith ops to destination-passing-style. (PR #157854)
Jakub Kuderski
llvmlistbot at llvm.org
Sun Sep 14 17:55:29 PDT 2025
================
@@ -612,9 +707,53 @@ LogicalResult rewriteOpInDestinationPassingStyle(OpTy op,
} // namespace
+#define STAMP_OUT_ARITH_DPS_FUNCS(OPTY) \
+ FailureOr<Operation *> linalg::rewriteInDestinationPassingStyle( \
+ RewriterBase &rewriter, OPTY op) { \
+ return rewriteArithInDestinationPassingStyle<OPTY>(rewriter, op); \
----------------
kuhar wrote:
```suggestion
return rewriteArithInDestinationPassingStyle(rewriter, op); \
```
https://github.com/llvm/llvm-project/pull/157854
More information about the Mlir-commits
mailing list