[Mlir-commits] [mlir] [mlir][complex] Prevent underflow in complex.abs (PR #76316)

Kai Sasaki llvmlistbot at llvm.org
Thu Jan 25 16:14:42 PST 2024


https://github.com/Lewuathe commented:

>From the MLIR viewpoint, it can be treated as undefined as it is. The language frontend or the hardware seem to be responsible how the division-by-zero case is treated. 
https://discourse.llvm.org/t/devision-by-zero-semantics-in-arith-divf/76514/3

Therefore, I think we can merge this as it is for now. Thanks for reviewing this change anyway!

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


More information about the Mlir-commits mailing list