Skip to content

Commit f577516

Browse files
[mlir][arith] Add back ElementwiseMappable to arith.trunci (#145000)
This trait was accidentally dropped in #144863.
1 parent 6197205 commit f577516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/Arith/IR/ArithOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ def Arith_ScalingExtFOp
12711271
// TruncIOp
12721272
//===----------------------------------------------------------------------===//
12731273

1274-
def Arith_TruncIOp : Op<Arith_Dialect, "trunci",
1274+
def Arith_TruncIOp : Arith_Op<"trunci",
12751275
[Pure, SameOperandsAndResultShape, SameInputOutputTensorDims,
12761276
DeclareOpInterfaceMethods<CastOpInterface>,
12771277
DeclareOpInterfaceMethods<InferIntRangeInterface, ["inferResultRanges"]>,

0 commit comments

Comments
 (0)