[libc-commits] [libc] [libc] Only add '-fno-builtin-*' on the entrypoints that use them (PR #100481)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue Oct 1 10:57:25 PDT 2024


jhuber6 wrote:

> Seems like we can probably do this for non-GPU targets, too?
> 
> I'm very interested in supporting LTO for CPU targets as well.

Might be a *little* more broken because the GPU targets intentionally don't emit *any* libcalls in their backends (except a few atomic ones I think?). I'm not an expert on those targets however, so we could probably find some amount that worked.

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


More information about the libc-commits mailing list