[Mlir-commits] [mlir] [mlir][linalg] convert arith ops to destination-passing-style. (PR #157854)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Wed Sep 10 06:58:37 PDT 2025
================
@@ -58,10 +58,10 @@ using namespace mlir::transform;
/// pattern failed to apply. Extra arguments are forwarded to the pattern
/// constructor.
template <typename PatternTy, typename... Args>
-static FailureOr<LinalgOp> tryApply(Operation *operation, Args &&...args) {
+static FailureOr<LinalgOp> tryApply(Operation *operation, Args &&... args) {
// Check if the given operation has the type expected by the pattern.
- using OpTy = typename llvm::function_traits<
- decltype(&PatternTy::returningMatchAndRewrite)>::template arg_t<0>;
+ using OpTy = typename llvm::function_traits<decltype(
+ &PatternTy::returningMatchAndRewrite)>::template arg_t<0>;
----------------
banach-space wrote:
[nit] Unrelated change?
https://github.com/llvm/llvm-project/pull/157854
More information about the Mlir-commits
mailing list