diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-02-04 20:27:23 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-02-04 20:27:23 +0000 |
commit | fb0ad6bd15076f0837bfe559c552b96fd4d9ec44 (patch) | |
tree | 4709539b0760407a96053b1a1d07cdfa47f15c3d /include/llvm | |
parent | 767a3dca4c66dffc88c71cd8586679b1c55f22a8 (diff) | |
download | llvm-fb0ad6bd15076f0837bfe559c552b96fd4d9ec44.tar.gz llvm-fb0ad6bd15076f0837bfe559c552b96fd4d9ec44.tar.bz2 llvm-fb0ad6bd15076f0837bfe559c552b96fd4d9ec44.tar.xz |
SimplifyLibCalls: Push TLI through the exp2->ldexp transform.
For the odd case of platforms with exp2 available but not ldexp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Target/TargetLibraryInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLibraryInfo.h b/include/llvm/Target/TargetLibraryInfo.h index 3bd8101e21..d4f9f23305 100644 --- a/include/llvm/Target/TargetLibraryInfo.h +++ b/include/llvm/Target/TargetLibraryInfo.h @@ -352,6 +352,12 @@ namespace llvm { labs, /// int lchown(const char *path, uid_t owner, gid_t group); lchown, + /// double ldexp(double x, int n); + ldexp, + /// float ldexpf(float x, int n); + ldexpf, + /// long double ldexpl(long double x, int n); + ldexpl, /// long long int llabs(long long int j); llabs, /// double log(double x); |