Skip to content

Commit 6a4de59

Browse files
author
Alaa Ali
committed
clear the code formatting errors
1 parent 1c0c7f4 commit 6a4de59

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,10 @@ static Value createLinalgBodyCalculationForElementwiseOp(
643643
APInt::getSignedMaxValue(dstTy.getIntOrFloatBitWidth())
644644
.getSExtValue()));
645645

646-
auto overflow = rewriter.create<arith::CmpFOp>(loc, arith::CmpFPredicate::UGT, rounded, intMaxFP);
647-
Value maxClampedFP = rewriter.create<arith::SelectOp>(loc, overflow, intMinFP, rounded);
646+
auto overflow = rewriter.create<arith::CmpFOp>(
647+
loc, arith::CmpFPredicate::UGT, rounded, intMaxFP);
648+
Value maxClampedFP =
649+
rewriter.create<arith::SelectOp>(loc, overflow, intMinFP, rounded);
648650

649651
Value clamped =
650652
clampFloatHelper(loc, maxClampedFP, intMinFP, intMaxFP, rewriter);

0 commit comments

Comments
 (0)