llvm-project
64574d35 - [libclc] Remove -fno-builtin from compile options (#162075)

Commit
33 days ago
[libclc] Remove -fno-builtin from compile options (#162075) The flag was added in 8ef48d07efa3 to suppress build warning and is no longer needed. It adds "no-builtins" attribute, which prevents libclc functions from being inlined into caller that don't have the attribute. The flag is meant to prevent folding standard library calls into optimized implementations. For libclc device targets, however, such target‑driven folding is desirable. llvm-diff shows no change to amdgcn--amdhsa.bc and nvptx--nvidiacl.bc. Co-authored-by: Mészáros Gergely <gergely.meszaros@intel.com>
Author
Parents
Loading