Apply clang-tidy fixes for performance-move-const-arg in TestLinalgCodegenStrategy.cpp (NFC)

This commit is contained in:
Mehdi Amini 2022-01-30 10:59:42 +00:00
parent d7ab71f7b9
commit bb31503989
1 changed files with 3 additions and 4 deletions

View File

@ -188,15 +188,14 @@ void TestLinalgCodegenStrategy::runStrategy(
CodegenStrategy strategy; CodegenStrategy strategy;
strategy strategy
.tileAndFuseIf(fuse && !tileSizes.empty(), anchorOpName, .tileAndFuseIf(fuse && !tileSizes.empty(), anchorOpName,
std::move(tilingAndFusionOptions)) tilingAndFusionOptions)
.tileIf(!fuse && !tileSizes.empty(), anchorOpName, .tileIf(!fuse && !tileSizes.empty(), anchorOpName, tilingOptions)
std::move(tilingOptions))
.promoteIf(!fuse && promote, anchorOpName, .promoteIf(!fuse && promote, anchorOpName,
LinalgPromotionOptions() LinalgPromotionOptions()
.setAlignment(16) .setAlignment(16)
.setUseFullTileBuffersByDefault(promoteFullTile)) .setUseFullTileBuffersByDefault(promoteFullTile))
.tileIf(!fuse && !registerTileSizes.empty(), anchorOpName, .tileIf(!fuse && !registerTileSizes.empty(), anchorOpName,
std::move(registerTilingOptions)) registerTilingOptions)
.promoteIf(!fuse && registerPromote, anchorOpName, .promoteIf(!fuse && registerPromote, anchorOpName,
LinalgPromotionOptions() LinalgPromotionOptions()
.setAlignment(16) .setAlignment(16)