From ee1fcb2fb684a54a3969adeb22108b62b18ea751 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Sun, 2 Jan 2022 01:11:13 +0000 Subject: [PATCH] Apply clang-tidy fixes for performance-move-const-arg to MLIR (NFC) Reviewed By: rriddle, Mogball Differential Revision: https://reviews.llvm.org/D116249 --- mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp b/mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp index 51cdd87..64713b0 100644 --- a/mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp +++ b/mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp @@ -528,8 +528,7 @@ applyMatmulToVectorPatterns(FuncOp funcOp, llvm::move(stage1Patterns, std::back_inserter(frozenStage1Patterns)); FrozenRewritePatternSet stage2Patterns = getLinalgTilingCanonicalizationPatterns(ctx); - (void)applyStagedPatterns(funcOp, frozenStage1Patterns, - std::move(stage2Patterns)); + (void)applyStagedPatterns(funcOp, frozenStage1Patterns, stage2Patterns); } static void applyVectorTransferForwardingPatterns(FuncOp funcOp) { -- 2.7.4