summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-02-04 20:27:23 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-02-04 20:27:23 +0000
commitfb0ad6bd15076f0837bfe559c552b96fd4d9ec44 (patch)
tree4709539b0760407a96053b1a1d07cdfa47f15c3d /include/llvm
parent767a3dca4c66dffc88c71cd8586679b1c55f22a8 (diff)
downloadllvm-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.h6
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);