Skip to content

Commit ce7466f

Browse files
authored
NFC: Rewrite auto castIter -> const auto *castIter (#133521)
1 parent 913dcf1 commit ce7466f

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
@@ -3598,7 +3598,7 @@ void MatmulOp::regionBuilder(ImplicitLocOpBuilder &b, Block &block,
35983598
SmallVector<Value> yields;
35993599

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

0 commit comments

Comments
 (0)