[libc-commits] [libc] [libc] Proof of concept of aliasing long double math functions. (PR #132627)

via libc-commits libc-commits at lists.llvm.org
Mon Mar 24 10:54:17 PDT 2025


================
@@ -88,9 +108,9 @@ add_math_entrypoint_object(ceilf128)
 
 add_math_entrypoint_object(copysign)
 add_math_entrypoint_object(copysignf)
-add_math_entrypoint_object(copysignl)
 add_math_entrypoint_object(copysignf16)
 add_math_entrypoint_object(copysignf128)
+add_long_double_math_entrypoint_object(copysign)
----------------
lntue wrote:

it wouldn't be a problem for the libc target but it will be a problem for tests.  Because our tests for `copysignl` only include `libc.src.math.copysignl` target, and we cannot have `copysignl` in one target aliasing to `copysign` in `libc.src.math.copysign` target.

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


More information about the libc-commits mailing list