diff options
author | Joe Groff <arcata@gmail.com> | 2012-04-17 23:05:54 +0000 |
---|---|---|
committer | Joe Groff <arcata@gmail.com> | 2012-04-17 23:05:54 +0000 |
commit | d5bda5ec663f43710fe462f44b77ddbcf8fe9d9e (patch) | |
tree | d5b79a8176b5e6d4067174a6b5e81494043de2b4 /include | |
parent | e652b521f97ed0c60cb5ad533dfcf477863ac0b1 (diff) | |
download | external_llvm-d5bda5ec663f43710fe462f44b77ddbcf8fe9d9e.zip external_llvm-d5bda5ec663f43710fe462f44b77ddbcf8fe9d9e.tar.gz external_llvm-d5bda5ec663f43710fe462f44b77ddbcf8fe9d9e.tar.bz2 |
fix pr12559: mark unavailable win32 math libcalls
also fix SimplifyLibCalls to use TLI rather than compile-time conditionals to enable optimizations on floor, ceil, round, rint, and nearbyint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetLibraryInfo.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLibraryInfo.h b/include/llvm/Target/TargetLibraryInfo.h index 70e26bf..c8cacf2 100644 --- a/include/llvm/Target/TargetLibraryInfo.h +++ b/include/llvm/Target/TargetLibraryInfo.h @@ -83,7 +83,7 @@ namespace llvm { /// long double expm1l(long double x); expm1l, /// float expm1f(float x); - expl1f, + expm1f, /// double fabs(double x); fabs, /// long double fabsl(long double x); @@ -159,8 +159,14 @@ namespace llvm { rint, /// float rintf(float x); rintf, - /// long dobule rintl(long double x); + /// long double rintl(long double x); rintl, + /// double round(double x); + round, + /// float roundf(float x); + roundf, + /// long double roundl(long double x); + roundl, /// double sin(double x); sin, /// long double sinl(long double x); |