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/subdf3.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/subdf3.c')
| -rw-r--r-- | compiler-rt/lib/builtins/subdf3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/subdf3.c b/compiler-rt/lib/builtins/subdf3.c index bfa9f74aca3..5346dbc970f 100644 --- a/compiler-rt/lib/builtins/subdf3.c +++ b/compiler-rt/lib/builtins/subdf3.c @@ -23,6 +23,6 @@ COMPILER_RT_ABI fp_t __subdf3(fp_t a, fp_t b) { #if defined(COMPILER_RT_ARMHF_TARGET) AEABI_RTABI fp_t __aeabi_dsub(fp_t a, fp_t b) { return __subdf3(a, b); } #else -AEABI_RTABI fp_t __aeabi_dsub(fp_t a, fp_t b) COMPILER_RT_ALIAS(__subdf3); +COMPILER_RT_ALIAS(__subdf3, __aeabi_dsub) #endif #endif |

