Skip to content

Commit e66d79e

Browse files
committed
Apply clang-tidy fixes for readability-identifier-naming in TosaOps.cpp (NFC)
1 parent 239737e commit e66d79e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Dialect/Tosa/IR/TosaOps.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ LogicalResult tosa::TileOp::inferReturnTypeComponents(
655655
return success();
656656
}
657657

658-
static SmallVector<int64_t> ConvertToMlirShape(ArrayRef<int64_t> shape) {
658+
static SmallVector<int64_t> convertToMlirShape(ArrayRef<int64_t> shape) {
659659
return to_vector(llvm::map_range(shape, [](int64_t dim) {
660660
return dim == -1 ? ShapedType::kDynamicSize : dim;
661661
}));
@@ -671,7 +671,7 @@ LogicalResult tosa::ReshapeOp::inferReturnTypeComponents(
671671
ArrayAttr newShape = adaptor.getNewShape();
672672
llvm::SmallVector<int64_t> newShapeValue;
673673
getI64Values(newShape, newShapeValue);
674-
newShapeValue = ConvertToMlirShape(newShapeValue);
674+
newShapeValue = convertToMlirShape(newShapeValue);
675675

676676
// We cannot infer from the total number of elements so we must take the
677677
// shape attribute as exact.
@@ -1250,7 +1250,7 @@ LogicalResult TransposeConv2DOp::inferReturnTypeComponents(
12501250
TransposeConv2DOp::Adaptor adaptor(operands.getValues(), attributes);
12511251
llvm::SmallVector<int64_t> outputShape;
12521252
getI64Values(adaptor.getOutShape(), outputShape);
1253-
outputShape = ConvertToMlirShape(outputShape);
1253+
outputShape = convertToMlirShape(outputShape);
12541254

12551255
int64_t inputWidth = ShapedType::kDynamicSize;
12561256
int64_t inputHeight = ShapedType::kDynamicSize;

0 commit comments

Comments
 (0)