Skip to content

Commit 1157ea2

Browse files
committed
rebase
1 parent c1c3d9b commit 1157ea2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Conversion/TTIRToLinalg/TTIRToLinalg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3149,10 +3149,10 @@ class MeanOpConversionPattern : public OpConversionPattern<ttir::MeanOp> {
31493149
const bool useUnsignedCast =
31503150
intType.isUnsigned() || intType.getWidth() == 1;
31513151
if (useUnsignedCast) {
3152-
input = rewriter.create<arith::UIToFPOp>(op.getLoc(), floatInputType,
3152+
input = arith::UIToFPOp::create(rewriter, op.getLoc(), floatInputType,
31533153
input);
31543154
} else {
3155-
input = rewriter.create<arith::SIToFPOp>(op.getLoc(), floatInputType,
3155+
input = arith::SIToFPOp::create(rewriter, op.getLoc(), floatInputType,
31563156
input);
31573157
}
31583158
inputType = cast<RankedTensorType>(input.getType());

0 commit comments

Comments
 (0)