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/floatsidf.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/floatsidf.c')
-rw-r--r-- | lib/builtins/floatsidf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/floatsidf.c b/lib/builtins/floatsidf.c index ee4f05b8b..2c66167d7 100644 --- a/lib/builtins/floatsidf.c +++ b/lib/builtins/floatsidf.c @@ -52,6 +52,6 @@ COMPILER_RT_ABI fp_t __floatsidf(int a) { #if defined(COMPILER_RT_ARMHF_TARGET) AEABI_RTABI fp_t __aeabi_i2d(int a) { return __floatsidf(a); } #else -AEABI_RTABI fp_t __aeabi_i2d(int a) COMPILER_RT_ALIAS(__floatsidf); +COMPILER_RT_ALIAS(__floatsidf, __aeabi_i2d) #endif #endif |