summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/builtins/Unit/floatdixf_test.c
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2015-04-24 15:45:57 +0000
committerDerek Schuff <dschuff@google.com>2015-04-24 15:45:57 +0000
commiteb0ebc367e1d9b122d189c3d08ddbaf33d6fa7ae (patch)
tree00e5518349b638df9ecf406a1aaae8a70e8be062 /compiler-rt/test/builtins/Unit/floatdixf_test.c
parent24a86df13e4272ad5a492dd80741782896606e81 (diff)
downloadbcm5719-llvm-eb0ebc367e1d9b122d189c3d08ddbaf33d6fa7ae.tar.gz
bcm5719-llvm-eb0ebc367e1d9b122d189c3d08ddbaf33d6fa7ae.zip
Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests
Summary: This makes their local declarations match their definitions for ARM targets, where they have a different calling convention. This really only affects functions that use floating point types (since the runtime functions use soft-float, and some targets may default to hard-float) but it seemed good to make it uniform and do the int-only ones too. Differential Revision: http://reviews.llvm.org/D9062 llvm-svn: 235722
Diffstat (limited to 'compiler-rt/test/builtins/Unit/floatdixf_test.c')
-rw-r--r--compiler-rt/test/builtins/Unit/floatdixf_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/builtins/Unit/floatdixf_test.c b/compiler-rt/test/builtins/Unit/floatdixf_test.c
index 33766642631..f6ab5a4665c 100644
--- a/compiler-rt/test/builtins/Unit/floatdixf_test.c
+++ b/compiler-rt/test/builtins/Unit/floatdixf_test.c
@@ -23,7 +23,7 @@
// gggg gggg gggg gggg gggg gggg gggg gggg | gggg gggg gggg gggg seee eeee eeee eeee |
// 1mmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm
-long double __floatdixf(di_int a);
+long COMPILER_RT_ABI double __floatdixf(di_int a);
int test__floatdixf(di_int a, long double expected)
{
OpenPOWER on IntegriCloud