Skip to content

Commit 2ab5186

Browse files
committed
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in NormalizeQuantTypes.cpp (NFC)
1 parent c077822 commit 2ab5186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Quant/Transforms/NormalizeQuantTypes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class NormalizedQuantTypesConverter : public TypeConverter {
8484

8585
if (isConvertibleToPerAxis(tensorType)) {
8686
auto shape = subChannelType.getScales().getType().getShape();
87-
auto quantizedDimItr =
87+
const auto *quantizedDimItr =
8888
llvm::find_if(shape, [](int64_t dim) { return dim != 1; });
8989
auto scales = llvm::to_vector(llvm::map_range(
9090
subChannelType.getScales().getValues<APFloat>(),

0 commit comments

Comments
 (0)