diff options
author | Wenju He <wenju.he@intel.com> | 2025-10-07 08:14:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-07 08:14:54 +0800 |
commit | 64574d3564fc2b4d3ec812a57a414f67558c26e4 (patch) | |
tree | 79c24b1c0096758baab5354a6950c898f282e9bd /llvm/lib/Object/OffloadBundle.cpp | |
parent | f490dbdc323c332b42085538ef7fe8de45ac00f7 (diff) | |
download | llvm-64574d3564fc2b4d3ec812a57a414f67558c26e4.zip llvm-64574d3564fc2b4d3ec812a57a414f67558c26e4.tar.gz llvm-64574d3564fc2b4d3ec812a57a414f67558c26e4.tar.bz2 |
[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>
Diffstat (limited to 'llvm/lib/Object/OffloadBundle.cpp')
0 files changed, 0 insertions, 0 deletions