[Mlir-commits] [mlir] [mlir][arith] Add overflow flags to `arith.trunci` (PR #144863)

Benjamin Kramer llvmlistbot at llvm.org
Fri Jun 20 01:47:36 PDT 2025


================
@@ -1271,25 +1271,49 @@ def Arith_ScalingExtFOp
 // TruncIOp
 //===----------------------------------------------------------------------===//
 
-def Arith_TruncIOp : Arith_IToICastOp<"trunci"> {
+def Arith_TruncIOp : Op<Arith_Dialect, "trunci",
----------------
d0k wrote:

Any reason for dropping the traits from Arith_Op here? Like ElementwiseMappable.

https://github.com/llvm/llvm-project/pull/144863


More information about the Mlir-commits mailing list