Skip to content

Commit d95d2b4

Browse files
committed
NFC: Rewrite auto castIter -> const auto *castIter
1 parent c0952a9 commit d95d2b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3597,7 +3597,7 @@ void MatmulOp::regionBuilder(ImplicitLocOpBuilder &b, Block &block,
35973597
SmallVector<Value> yields;
35983598

35993599
TypeFn castVal = TypeFn::cast_signed;
3600-
auto castIter = llvm::find_if(attrs, [&](const NamedAttribute &attr) {
3600+
const auto *castIter = llvm::find_if(attrs, [&](const NamedAttribute &attr) {
36013601
return attr.getName() == "cast";
36023602
});
36033603
if (castIter != attrs.end()) {

0 commit comments

Comments
 (0)