llvm-project
75a0b012 - [mlir][ComplexToStandard] Preserve sign of zero im part in exp lowering (#242359)

Commit
3 days ago
[mlir][ComplexToStandard] Preserve sign of zero im part in exp lowering (#242359) The current logic sets `isYZero` to true when `y == +0` or `y == -0`, and then sets the imaginary part to `+0`, discarding the initial sign. This PR fixes this by instead setting the im part to y when `isYZero` is true.
Author
Parents
Loading