From 37e90d10534b591374e08ca02ff1878803096d41 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Mon, 29 Apr 2019 00:46:23 +0000 Subject: [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 --- lib/builtins/floatundisf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/builtins/floatundisf.c') 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 -- cgit v1.2.1