Skip to content

Commit

Permalink
[mlir][SCF] Apply ClangTidyPerformance finding (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
akuegel committed Sep 30, 2022
1 parent 5849fcb commit 67bcf98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
Expand Up @@ -253,7 +253,7 @@ static void
updateDestinationOperandsForTiledOp(OpBuilder &builder,
ValueRange tiledOpDestinationValues,
ValueRange bbArgsList) {
for (auto destValue : llvm::enumerate(tiledOpDestinationValues)) {
for (const auto &destValue : llvm::enumerate(tiledOpDestinationValues)) {
auto sliceOp = destValue.value().getDefiningOp<tensor::ExtractSliceOp>();
if (!sliceOp)
continue;
Expand Down

0 comments on commit 67bcf98

Please sign in to comment.