[clang] [AMDGPU][clang] provide device implementation for __builtin_logb and … (PR #129347)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 28 19:55:48 PST 2025


jhuber6 wrote:

> The motivation came from CUDA cccl code containing __builtin_logb and __builtin_scalbn and being able to handle them.

In my ideal world, unhandled builtins would be lowered before the linker and we'd have a working library called `libm.a` that matches the platform.

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


More information about the cfe-commits mailing list