[Mlir-commits] [mlir] ee1fcb2 - Apply clang-tidy fixes for performance-move-const-arg to MLIR (NFC)

Mehdi Amini llvmlistbot at llvm.org
Sat Jan 1 17:16:50 PST 2022


Author: Mehdi Amini
Date: 2022-01-02T01:16:15Z
New Revision: ee1fcb2fb684a54a3969adeb22108b62b18ea751

URL: https://github.com/llvm/llvm-project/commit/ee1fcb2fb684a54a3969adeb22108b62b18ea751
DIFF: https://github.com/llvm/llvm-project/commit/ee1fcb2fb684a54a3969adeb22108b62b18ea751.diff

LOG: Apply clang-tidy fixes for performance-move-const-arg to MLIR (NFC)

Reviewed By: rriddle, Mogball

Differential Revision: https://reviews.llvm.org/D116249

Added: 
    

Modified: 
    mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp b/mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp
index 51cdd8732140..64713b02c7b6 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) {


        


More information about the Mlir-commits mailing list