Skip to content

Commit f74c662

Browse files
committed
remove the case that OutputZP width > 32
OutputZP width > 32 is not allow by SPEC
1 parent 8a47f3c commit f74c662

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,8 +1541,6 @@ static Value getI32OutputZp(OpBuilder &builder, Type valueTy,
15411541
return builder.create<arith::ExtSIOp>(loc, builder.getI32Type(),
15421542
result);
15431543
}
1544-
} else if (zpTy.getIntOrFloatBitWidth() > 32) {
1545-
return builder.create<arith::TruncIOp>(loc, builder.getI32Type(), result);
15461544
}
15471545
} else {
15481546
return builder.create<arith::ConstantOp>(

0 commit comments

Comments
 (0)