[Mlir-commits] [mlir] [mlir][complex] Add Integer overflow flag in complex dialect ops (PR #90823)

Kai Sasaki llvmlistbot at llvm.org
Thu May 23 22:48:22 PDT 2024


https://github.com/Lewuathe commented:

@joker-eph Thanks for taking a look at this. I found the integer overflow flag is only [supported](https://github.com/llvm/llvm-project/blob/06b5a7c205cbf33d1c40efc77e0820ddd4e060fa/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td#L140-L152) by `arith.addi`, `arith.subi`, `arith.muli` and `arith.shli` for now. The complex dialect does not use any these ops to lower. 

Although [I thought](https://discourse.llvm.org/t/rfc-integer-overflow-flags-support-in-arith-dialect/76025/18?u=lewuathe) we have needed to support it or provided the interface for future use case, it might have been for this dialect? 

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


More information about the Mlir-commits mailing list