Skip to content

Commit 57c2b92

Browse files
[mlir][arith] Add ElementwiseMappable to arith.trunci
This trait was accidentally dropped in #144863.
1 parent b6b8fa3 commit 57c2b92

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)