[libc-commits] [libc] [libc] Use `rint` builtin for rounding on the GPU (PR #98345)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Wed Jul 10 09:33:14 PDT 2024
jhuber6 wrote:
> Godbolt link is wrong, pointing to sin. This is a directly legal instruction so less explanation is needed too
The old version in the LLVM libm was just `sin(double x) { return __ocml_sin_f64(x); }` the IR here is from that.
https://github.com/llvm/llvm-project/pull/98345
More information about the libc-commits
mailing list