Skip to content

Commit d2f0676

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

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
@@ -108,7 +108,7 @@ struct TosaDialectBytecodeInterface : public BytecodeDialectInterface {
108108
}
109109

110110
LogicalResult upgradeFromVersion(Operation *topLevelOp,
111-
const DialectVersion &version_) const final {
111+
const DialectVersion &version) const final {
112112
return success();
113113
}
114114
};
@@ -454,12 +454,12 @@ static void
454454
buildAvgPool2dOpWithQuantInfo(OpBuilder &builder, OperationState &result,
455455
Type outputType, Value input,
456456
DenseArrayAttr kernel, DenseArrayAttr stride,
457-
DenseArrayAttr pad, TypeAttr acc_type) {
457+
DenseArrayAttr pad, TypeAttr accType) {
458458
result.addOperands(input);
459459
result.addAttribute("kernel", kernel);
460460
result.addAttribute("stride", stride);
461461
result.addAttribute("pad", pad);
462-
result.addAttribute("acc_type", acc_type);
462+
result.addAttribute("acc_type", accType);
463463
auto quantAttr = buildUnaryOpQuantizationAttr(builder, input, outputType);
464464
if (quantAttr)
465465
result.addAttribute("quantization_info", quantAttr);

0 commit comments

Comments
 (0)