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 | 84da0e1bb75f8666cf222d2f600f37bebb9ea389 (patch) | |
| tree | 48658b33c89c8d8586379bf95d0f5b402ef42d27 /compiler-rt/lib/builtins/mulsf3.c | |
| parent | aec5dcc4579fda255c308b002cebe24b104b8df2 (diff) | |
| download | bcm5719-llvm-84da0e1bb75f8666cf222d2f600f37bebb9ea389.tar.gz bcm5719-llvm-84da0e1bb75f8666cf222d2f600f37bebb9ea389.zip | |
[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
llvm-svn: 359413
Diffstat (limited to 'compiler-rt/lib/builtins/mulsf3.c')
| -rw-r--r-- | compiler-rt/lib/builtins/mulsf3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/mulsf3.c b/compiler-rt/lib/builtins/mulsf3.c index d2a1b772540..b9cf39abc78 100644 --- a/compiler-rt/lib/builtins/mulsf3.c +++ b/compiler-rt/lib/builtins/mulsf3.c @@ -20,6 +20,6 @@ COMPILER_RT_ABI fp_t __mulsf3(fp_t a, fp_t b) { return __mulXf3__(a, b); } #if defined(COMPILER_RT_ARMHF_TARGET) AEABI_RTABI fp_t __aeabi_fmul(fp_t a, fp_t b) { return __mulsf3(a, b); } #else -AEABI_RTABI fp_t __aeabi_fmul(fp_t a, fp_t b) COMPILER_RT_ALIAS(__mulsf3); +COMPILER_RT_ALIAS(__mulsf3, __aeabi_fmul) #endif #endif |

