diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-12-08 20:28:33 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-12-08 20:28:33 +0000 |
commit | 2e06c8c777a4fcfda2411222f12a7fd94ba443e1 (patch) | |
tree | bc43c66f398870e364b0dc45d86aed63f43887f9 /llvm/lib/Target/TargetLibraryInfo.cpp | |
parent | abaed9ecea50318306207d437cf9b9fad06a6356 (diff) | |
download | bcm5719-llvm-2e06c8c777a4fcfda2411222f12a7fd94ba443e1.tar.gz bcm5719-llvm-2e06c8c777a4fcfda2411222f12a7fd94ba443e1.zip |
Revert 196544 due to internal bot failures.
llvm-svn: 196732
Diffstat (limited to 'llvm/lib/Target/TargetLibraryInfo.cpp')
-rw-r--r-- | llvm/lib/Target/TargetLibraryInfo.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/llvm/lib/Target/TargetLibraryInfo.cpp b/llvm/lib/Target/TargetLibraryInfo.cpp index 753562077f9..3e68fe16d4a 100644 --- a/llvm/lib/Target/TargetLibraryInfo.cpp +++ b/llvm/lib/Target/TargetLibraryInfo.cpp @@ -401,31 +401,6 @@ static void initialize(TargetLibraryInfo &TLI, const Triple &T, TLI.setAvailableWithName(LibFunc::fputs, "fputs$UNIX2003"); } - // exp10 and exp10f are not available on OS X until 10.9 and iOS until 7.0 - // and their names are __exp10 and __exp10f. exp10l is not available on - // OS X or iOS. - if (T.isMacOSX()) { - TLI.setUnavailable(LibFunc::exp10l); - if (T.isMacOSXVersionLT(10, 9)) { - TLI.setUnavailable(LibFunc::exp10); - TLI.setUnavailable(LibFunc::exp10f); - } else { - TLI.setAvailableWithName(LibFunc::exp10, "__exp10"); - TLI.setAvailableWithName(LibFunc::exp10f, "__exp10f"); - } - } - - if (T.getOS() == Triple::IOS) { - TLI.setUnavailable(LibFunc::exp10l); - if (T.isOSVersionLT(7, 0)) { - TLI.setUnavailable(LibFunc::exp10); - TLI.setUnavailable(LibFunc::exp10f); - } else { - TLI.setAvailableWithName(LibFunc::exp10, "__exp10"); - TLI.setAvailableWithName(LibFunc::exp10f, "__exp10f"); - } - } - // iprintf and friends are only available on XCore and TCE. if (T.getArch() != Triple::xcore && T.getArch() != Triple::tce) { TLI.setUnavailable(LibFunc::iprintf); |