summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/builtins
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-10-30 20:51:27 +0000
committerReid Kleckner <rnk@google.com>2018-10-30 20:51:27 +0000
commit96b823418d05ad86dca52e6f1040bede6840a510 (patch)
tree5c81bd65071a54f2d0eeabffec0a3d17ecf646f8 /compiler-rt/test/builtins
parent900678227c3cc42bc01c82eb4f814524e6b79bd0 (diff)
downloadbcm5719-llvm-96b823418d05ad86dca52e6f1040bede6840a510.tar.gz
bcm5719-llvm-96b823418d05ad86dca52e6f1040bede6840a510.zip
[builtins] Re-enable x86-only long double tests
Summary: In r81552, the HAS_80_BIT_LONG_DOUBLE macro was added to the unit test only version of int_lib.h. One month later in r85260 the duplicate int_lib.h was removed, but the tests still passed because we don't build with -Werror. This is the minimal change to bring it back, and I decided to put the configuration macro next to our 128-bit integer support macro. Reviewers: joerg, compnerd, mstorsjo Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D53838 llvm-svn: 345645
Diffstat (limited to 'compiler-rt/test/builtins')
-rw-r--r--compiler-rt/test/builtins/Unit/fixxfdi_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/builtins/Unit/fixxfdi_test.c b/compiler-rt/test/builtins/Unit/fixxfdi_test.c
index 40ad2b04f23..dcfa75c4b45 100644
--- a/compiler-rt/test/builtins/Unit/fixxfdi_test.c
+++ b/compiler-rt/test/builtins/Unit/fixxfdi_test.c
@@ -26,7 +26,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
-COMPILER_RT_ABI di_int __sfixxfdi(long double a);
+COMPILER_RT_ABI di_int __fixxfdi(long double a);
int test__fixxfdi(long double a, di_int expected)
{
OpenPOWER on IntegriCloud