This allows optimization of more signed floor implementations when the divisor is a known power of two to an arithmetic shift. Proof for the implemented optimizations: https://alive2.llvm.org/ce/z/j6C-Nz Proof for the test cases: https://alive2.llvm.org/ce/z/M_PBjw --------- Co-authored-by: Jacob Young <jacobly0@users.noreply.github.com>
331 KiB
331 KiB