diff options
author | Wenju He <wenju.he@intel.com> | 2025-10-20 10:08:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-20 10:08:35 +0800 |
commit | 377148fd60df55e486dc72b26248006ae092725a (patch) | |
tree | f23cf1508a80b029f0fd852207dee5d2eb14d62e /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | b9e2f7ac0489b2045aa78475e9663c2d3e5bedf7 (diff) | |
download | llvm-377148fd60df55e486dc72b26248006ae092725a.zip llvm-377148fd60df55e486dc72b26248006ae092725a.tar.gz llvm-377148fd60df55e486dc72b26248006ae092725a.tar.bz2 |
[libclc] Move functions definition from header clc_sincos_piby4.inc into clc_sincos_helpers.cl (#164028)
inline functions defined in clc_sincos_piby4.inc miss static specifier
and are deleted by EliminateAvailableExternallyPass when not inlined.
This PR fix the problem by removing inline and moving function
definition
into clc/lib/generic/math/clc_sincos_helpers.cl. It makes sense to put
all sin/cos helpers definitions in one file clc_sincos_helpers.cl.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions