summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-09-28 17:41:03 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-09-28 17:41:03 +0000
commit5352717508c897d87ec25a686519081e1adb357d (patch)
treeed36969d52fddbab8e052395854024d35ee01ff3 /clang/test
parent0f7691ad202240c9f8f4c2cd8163e4b07fac9e40 (diff)
downloadbcm5719-llvm-5352717508c897d87ec25a686519081e1adb357d.tar.gz
bcm5719-llvm-5352717508c897d87ec25a686519081e1adb357d.zip
The second parameter of nexttoward is always long double.
llvm-svn: 191623
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGen/libcall-declarations.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/libcall-declarations.c b/clang/test/CodeGen/libcall-declarations.c
index 2a2c41859d3..6442e29bd86 100644
--- a/clang/test/CodeGen/libcall-declarations.c
+++ b/clang/test/CodeGen/libcall-declarations.c
@@ -139,8 +139,8 @@ long double nearbyintl(long double);
double nextafter(double, double);
float nextafterf(float, float);
long double nextafterl(long double, long double);
-double nexttoward(double, double);
-float nexttowardf(float, float);
+double nexttoward(double, long double);
+float nexttowardf(float, long double);
long double nexttowardl(long double, long double);
double remainder(double, double);
float remainderf(float, float);
@@ -427,8 +427,8 @@ void *use[] = {
// CHECK-NOERRNO: declare double @nextafter(double, double) [[NUW]]
// CHECK-NOERRNO: declare float @nextafterf(float, float) [[NUW]]
// CHECK-NOERRNO: declare x86_fp80 @nextafterl(x86_fp80, x86_fp80) [[NUW]]
-// CHECK-NOERRNO: declare double @nexttoward(double, double) [[NUW]]
-// CHECK-NOERRNO: declare float @nexttowardf(float, float) [[NUW]]
+// CHECK-NOERRNO: declare double @nexttoward(double, x86_fp80) [[NUW]]
+// CHECK-NOERRNO: declare float @nexttowardf(float, x86_fp80) [[NUW]]
// CHECK-NOERRNO: declare x86_fp80 @nexttowardl(x86_fp80, x86_fp80) [[NUW]]
// CHECK-NOERRNO: declare double @remainder(double, double) [[NUW]]
// CHECK-NOERRNO: declare float @remainderf(float, float) [[NUW]]
OpenPOWER on IntegriCloud