diff options
author | Petr Hosek <phosek@chromium.org> | 2019-04-29 00:46:23 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2019-04-29 00:46:23 +0000 |
commit | 37e90d10534b591374e08ca02ff1878803096d41 (patch) | |
tree | 2b537cef0e1d6ca9690ce3e7a6e2833ac6e7c26e /lib/builtins/floatundisf.c | |
parent | f0745e8476f069296a7c71accedd061dce4cdf79 (diff) | |
download | compiler-rt-37e90d10534b591374e08ca02ff1878803096d41.tar.gz |
[builtins] Use aliases for function redirects
Symbol aliases are supported by all platforms that compiler-rt builtins
target, and we can use these instead of function redirects to avoid the
extra indirection.
This is part of the cleanup proposed in "[RFC] compiler-rt builtins
cleanup and refactoring".
Differential Revision: https://reviews.llvm.org/D60931
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@359413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/floatundisf.c')
-rw-r--r-- | lib/builtins/floatundisf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/floatundisf.c b/lib/builtins/floatundisf.c index 03b1483a3..87841b761 100644 --- a/lib/builtins/floatundisf.c +++ b/lib/builtins/floatundisf.c @@ -67,6 +67,6 @@ COMPILER_RT_ABI float __floatundisf(du_int a) { #if defined(COMPILER_RT_ARMHF_TARGET) AEABI_RTABI float __aeabi_ul2f(du_int a) { return __floatundisf(a); } #else -AEABI_RTABI float __aeabi_ul2f(du_int a) COMPILER_RT_ALIAS(__floatundisf); +COMPILER_RT_ALIAS(__floatundisf, __aeabi_ul2f) #endif #endif |