Fix fmin*/fmax* library builtin signatures.

llvm-svn: 156396
This commit is contained in:
Douglas Gregor 2012-05-08 18:29:52 +00:00
parent d18888242e
commit a5f9c064ec
2 changed files with 8 additions and 6 deletions

View File

@ -848,13 +848,13 @@ LIBBUILTIN(fma, "dddd", "fc", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fmal, "LdLdLdLd", "fc", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fmaf, "ffff", "fc", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fmax, "dd", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fmaxl, "LdLd", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fmaxf, "ff", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fmax, "ddd", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fmaxl, "LdLdLd", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fmaxf, "fff", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fmin, "dd", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fminl, "LdLd", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fminf, "ff", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fmin, "ddd", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fminl, "LdLdLd", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(fminf, "fff", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(log, "dd", "fe", "math.h", ALL_LANGUAGES)
LIBBUILTIN(logl, "LdLd", "fe", "math.h", ALL_LANGUAGES)

View File

@ -55,3 +55,5 @@ void snprintf() { }
// PR8316
void longjmp(); // expected-warning{{declaration of built-in function 'longjmp' requires inclusion of the header <setjmp.h>}}
extern float fmaxf(float, float);