Skip to content

Commit f7e1988

Browse files
committed
Fix formatting
1 parent 1c36395 commit f7e1988

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,9 +1468,9 @@ class RescaleConverter : public OpRewritePattern<tosa::RescaleOp> {
14681468
const int32_t inBitwidth = valueTy.getIntOrFloatBitWidth();
14691469
// Extend zeropoint for sub-32bits widths.
14701470
const int32_t inAttrBitwidth = inBitwidth > 32 ? inBitwidth : 32;
1471-
auto inputZp = nestedBuilder.create<arith::ConstantOp>(loc,
1472-
IntegerAttr::get(rewriter.getIntegerType(inAttrBitwidth),
1473-
*maybeIZp));
1471+
auto inputZp = nestedBuilder.create<arith::ConstantOp>(
1472+
loc, IntegerAttr::get(rewriter.getIntegerType(inAttrBitwidth),
1473+
*maybeIZp));
14741474

14751475
FailureOr<int64_t> maybeOZp = op.getOutputZeroPoint();
14761476
if (failed(maybeOZp)) {
@@ -1484,9 +1484,9 @@ class RescaleConverter : public OpRewritePattern<tosa::RescaleOp> {
14841484
unsigned outBitWidth = outIntType.getWidth();
14851485
const int32_t outAttrBitwidth = 32;
14861486
assert(outBitWidth <= 32 && "Unexpected output zeropoint bitwidth");
1487-
auto outputZp = nestedBuilder.create<arith::ConstantOp>(loc,
1488-
IntegerAttr::get(rewriter.getIntegerType(outAttrBitwidth),
1489-
*maybeOZp));
1487+
auto outputZp = nestedBuilder.create<arith::ConstantOp>(
1488+
loc, IntegerAttr::get(rewriter.getIntegerType(outAttrBitwidth),
1489+
*maybeOZp));
14901490

14911491
Value multiplier = multiplierConstant ? multiplierConstant
14921492
: blockArgs[multiplierArg];

0 commit comments

Comments
 (0)