llvm-project
f65341cc - [AMDGPU][ISel] Reduce `f64` compare to integer compare of upper half (#188356)

Commit
14 days ago
[AMDGPU][ISel] Reduce `f64` compare to integer compare of upper half (#188356) Truncate `f64` `setcc`s to upper 32-bit operands where possible. These transformations are analogous to those in #181238, but for ordered and unordered fp comparisons. Fixes #187996. Alive2 verification of transformations: - For `eq` / `ne`: [ZRciR6](https://alive2.llvm.org/ce/z/ZRciR6) - For `lt` / `ge`: [RDGnqr](https://alive2.llvm.org/ce/z/RDGnqr) - For `le` / `gt`: [v0jlD5](https://alive2.llvm.org/ce/z/v0jlD5)
Author
Parents
Loading