aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Config
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2013-02-07 00:21:34 +0000
committerOwen Anderson <resistor@mac.com>2013-02-07 00:21:34 +0000
commitec643abe6903284fc9ae7b6d9ae5e0b4ad40ad28 (patch)
treefed80233a33989203470c21cfae7ba95096849e7 /include/llvm/Config
parent42258e0ea8781dd29cae4b1a6eb54d8c70dcea0b (diff)
downloadexternal_llvm-ec643abe6903284fc9ae7b6d9ae5e0b4ad40ad28.zip
external_llvm-ec643abe6903284fc9ae7b6d9ae5e0b4ad40ad28.tar.gz
external_llvm-ec643abe6903284fc9ae7b6d9ae5e0b4ad40ad28.tar.bz2
Conditionalize constant folding of math intrinsics on the availability of an implementation on the host. This is a little bit unfortunate, but until someone decides to implement a full libm for APFloat, we don't have a better way to get this functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config')
-rw-r--r--include/llvm/Config/config.h.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index 5fb4c81..2f9e6ff 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -122,6 +122,12 @@
/* Define to 1 if you have the <execinfo.h> header file. */
#undef HAVE_EXECINFO_H
+/* Define to 1 if you have the `exp' function. */
+#undef HAVE_EXP
+
+/* Define to 1 if you have the `exp2' function. */
+#undef HAVE_EXP2
+
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
@@ -225,6 +231,15 @@
the current directory to the dynamic linker search path. */
#undef HAVE_LINK_R
+/* Define to 1 if you have the `log' function. */
+#undef HAVE_LOG
+
+/* Define to 1 if you have the `log10' function. */
+#undef HAVE_LOG10
+
+/* Define to 1 if you have the `log2' function. */
+#undef HAVE_LOG2
+
/* Define to 1 if you have the `longjmp' function. */
#undef HAVE_LONGJMP