[Mlir-commits] [mlir] bb31503 - Apply clang-tidy fixes for performance-move-const-arg in TestLinalgCodegenStrategy.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sun Jan 30 11:49:48 PST 2022
Author: Mehdi Amini
Date: 2022-01-30T19:49:23Z
New Revision: bb31503989ee7bf8ae9c1f0ce62328de4a2a118c
URL: https://github.com/llvm/llvm-project/commit/bb31503989ee7bf8ae9c1f0ce62328de4a2a118c
DIFF: https://github.com/llvm/llvm-project/commit/bb31503989ee7bf8ae9c1f0ce62328de4a2a118c.diff
LOG: Apply clang-tidy fixes for performance-move-const-arg in TestLinalgCodegenStrategy.cpp (NFC)
Added:
Modified:
mlir/test/lib/Dialect/Linalg/TestLinalgCodegenStrategy.cpp
Removed:
################################################################################
diff --git a/mlir/test/lib/Dialect/Linalg/TestLinalgCodegenStrategy.cpp b/mlir/test/lib/Dialect/Linalg/TestLinalgCodegenStrategy.cpp
index 5bfd6412854b6..16cf50ff6dc8c 100644
--- a/mlir/test/lib/Dialect/Linalg/TestLinalgCodegenStrategy.cpp
+++ b/mlir/test/lib/Dialect/Linalg/TestLinalgCodegenStrategy.cpp
@@ -188,15 +188,14 @@ void TestLinalgCodegenStrategy::runStrategy(
CodegenStrategy strategy;
strategy
.tileAndFuseIf(fuse && !tileSizes.empty(), anchorOpName,
- std::move(tilingAndFusionOptions))
- .tileIf(!fuse && !tileSizes.empty(), anchorOpName,
- std::move(tilingOptions))
+ tilingAndFusionOptions)
+ .tileIf(!fuse && !tileSizes.empty(), anchorOpName, tilingOptions)
.promoteIf(!fuse && promote, anchorOpName,
LinalgPromotionOptions()
.setAlignment(16)
.setUseFullTileBuffersByDefault(promoteFullTile))
.tileIf(!fuse && !registerTileSizes.empty(), anchorOpName,
- std::move(registerTilingOptions))
+ registerTilingOptions)
.promoteIf(!fuse && registerPromote, anchorOpName,
LinalgPromotionOptions()
.setAlignment(16)
More information about the Mlir-commits
mailing list