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;
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)