Skip to content
Snippets Groups Projects
Commit 47e6b649 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

The second parameter of nexttoward is always long double.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191623 91177308-0d34-0410-b5e6-96231b3b80d8
parent 3d9efecf
No related branches found
No related tags found
No related merge requests found
...@@ -239,8 +239,8 @@ BUILTIN(__builtin_nearbyintl, "LdLd", "Fnc") ...@@ -239,8 +239,8 @@ BUILTIN(__builtin_nearbyintl, "LdLd", "Fnc")
BUILTIN(__builtin_nextafter , "ddd", "Fnc") BUILTIN(__builtin_nextafter , "ddd", "Fnc")
BUILTIN(__builtin_nextafterf, "fff", "Fnc") BUILTIN(__builtin_nextafterf, "fff", "Fnc")
BUILTIN(__builtin_nextafterl, "LdLdLd", "Fnc") BUILTIN(__builtin_nextafterl, "LdLdLd", "Fnc")
BUILTIN(__builtin_nexttoward , "ddd", "Fnc") BUILTIN(__builtin_nexttoward , "ddLd", "Fnc")
BUILTIN(__builtin_nexttowardf, "fff", "Fnc") BUILTIN(__builtin_nexttowardf, "ffLd", "Fnc")
BUILTIN(__builtin_nexttowardl, "LdLdLd", "Fnc") BUILTIN(__builtin_nexttowardl, "LdLdLd", "Fnc")
BUILTIN(__builtin_remainder , "ddd", "Fnc") BUILTIN(__builtin_remainder , "ddd", "Fnc")
BUILTIN(__builtin_remainderf, "fff", "Fnc") BUILTIN(__builtin_remainderf, "fff", "Fnc")
...@@ -993,8 +993,8 @@ LIBBUILTIN(nextafter, "ddd", "fne", "math.h", ALL_LANGUAGES) ...@@ -993,8 +993,8 @@ LIBBUILTIN(nextafter, "ddd", "fne", "math.h", ALL_LANGUAGES)
LIBBUILTIN(nextafterf, "fff", "fne", "math.h", ALL_LANGUAGES) LIBBUILTIN(nextafterf, "fff", "fne", "math.h", ALL_LANGUAGES)
LIBBUILTIN(nextafterl, "LdLdLd", "fne", "math.h", ALL_LANGUAGES) LIBBUILTIN(nextafterl, "LdLdLd", "fne", "math.h", ALL_LANGUAGES)
LIBBUILTIN(nexttoward, "ddd", "fne", "math.h", ALL_LANGUAGES) LIBBUILTIN(nexttoward, "ddLd", "fne", "math.h", ALL_LANGUAGES)
LIBBUILTIN(nexttowardf, "fff", "fne", "math.h", ALL_LANGUAGES) LIBBUILTIN(nexttowardf, "ffLd", "fne", "math.h", ALL_LANGUAGES)
LIBBUILTIN(nexttowardl, "LdLdLd", "fne", "math.h", ALL_LANGUAGES) LIBBUILTIN(nexttowardl, "LdLdLd", "fne", "math.h", ALL_LANGUAGES)
LIBBUILTIN(remainder, "ddd", "fne", "math.h", ALL_LANGUAGES) LIBBUILTIN(remainder, "ddd", "fne", "math.h", ALL_LANGUAGES)
......
...@@ -139,8 +139,8 @@ long double nearbyintl(long double); ...@@ -139,8 +139,8 @@ long double nearbyintl(long double);
double nextafter(double, double); double nextafter(double, double);
float nextafterf(float, float); float nextafterf(float, float);
long double nextafterl(long double, long double); long double nextafterl(long double, long double);
double nexttoward(double, double); double nexttoward(double, long double);
float nexttowardf(float, float); float nexttowardf(float, long double);
long double nexttowardl(long double, long double); long double nexttowardl(long double, long double);
double remainder(double, double); double remainder(double, double);
float remainderf(float, float); float remainderf(float, float);
...@@ -427,8 +427,8 @@ void *use[] = { ...@@ -427,8 +427,8 @@ void *use[] = {
// CHECK-NOERRNO: declare double @nextafter(double, double) [[NUW]] // CHECK-NOERRNO: declare double @nextafter(double, double) [[NUW]]
// CHECK-NOERRNO: declare float @nextafterf(float, float) [[NUW]] // CHECK-NOERRNO: declare float @nextafterf(float, float) [[NUW]]
// CHECK-NOERRNO: declare x86_fp80 @nextafterl(x86_fp80, x86_fp80) [[NUW]] // CHECK-NOERRNO: declare x86_fp80 @nextafterl(x86_fp80, x86_fp80) [[NUW]]
// CHECK-NOERRNO: declare double @nexttoward(double, double) [[NUW]] // CHECK-NOERRNO: declare double @nexttoward(double, x86_fp80) [[NUW]]
// CHECK-NOERRNO: declare float @nexttowardf(float, float) [[NUW]] // CHECK-NOERRNO: declare float @nexttowardf(float, x86_fp80) [[NUW]]
// CHECK-NOERRNO: declare x86_fp80 @nexttowardl(x86_fp80, 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 double @remainder(double, double) [[NUW]]
// CHECK-NOERRNO: declare float @remainderf(float, float) [[NUW]] // CHECK-NOERRNO: declare float @remainderf(float, float) [[NUW]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment