Chandler Carruth
92ffb676af
Disable transforms that introduce calls to exp10*() on Linux due to
...
widespread glibc bugs.
The glibc implementation of exp10 has a very serious precision bug in
version 2.15 (and older versions). This is still very widely used (the
current Ubuntu LTS for example uses it) and so it isn't reasonable to
make transforms that produce these functions. This fixes many
miscompiles introduced when we started transforming pow(10.0, ...) into
exp10, and it may have fixed other latent miscompiles where exp10
provided sufficient precision but exp10f did not.
This is all really horrible. The primary bug has been fixed for over
a year and glibc 2.18 works correctly for the test cases I have, but it
will be 2017 before the LTS using 2.15 is no longer supported by Ubuntu
(and thus reasonable for folks to be relying on). =[ We're either going
to need to live without these optimizations, or find a way to switch
behavior more dynamically than using simply the fact that the OS is
"Linux".
To make matters worse, there appears to be significant testing and
fixing of numerous other bugs in the exp10 family of functions right now
in glibc. While those haven't been causing problems I've seen in the
wild, it gives me concerns that we may need to wait until an even later
release of glibc before we can reliably transform code into exp10.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198093 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-28 02:40:19 +00:00
..
2013-08-28 23:04:41 +00:00
2013-08-28 23:04:41 +00:00
2013-08-28 23:04:41 +00:00
2011-11-27 06:54:59 +00:00
2011-09-01 01:28:25 +00:00
2011-09-01 01:28:25 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 12:47:22 +00:00
2011-02-10 05:36:31 +00:00
2013-08-28 23:04:41 +00:00
2013-08-28 23:04:41 +00:00
2012-07-02 12:47:22 +00:00
2013-08-28 23:04:41 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-07-09 07:50:59 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2011-06-18 06:05:24 +00:00
2012-07-02 12:47:22 +00:00
2011-07-09 17:41:24 +00:00
2012-07-02 12:47:22 +00:00
2011-06-17 17:37:13 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 12:47:22 +00:00
2013-07-30 20:45:05 +00:00
2013-07-30 20:45:05 +00:00
2011-06-17 03:14:27 +00:00
2011-09-06 13:37:06 +00:00
2013-08-28 23:04:41 +00:00
2012-07-02 19:09:46 +00:00
2013-08-28 23:04:41 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-12-30 01:28:40 +00:00
2011-09-01 01:28:25 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-08-28 23:04:41 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-08-07 22:35:16 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-11-15 01:34:59 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-03-21 00:55:59 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:42:54 +00:00
2012-12-30 01:28:40 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2011-02-15 07:13:48 +00:00
2011-03-09 01:28:35 +00:00
2011-05-02 18:51:41 +00:00
2011-05-17 02:38:59 +00:00
2011-06-01 16:42:47 +00:00
2013-07-14 01:50:49 +00:00
2011-09-07 09:21:38 +00:00
2011-10-11 01:32:10 +00:00
2013-07-14 01:50:49 +00:00
2012-06-07 20:28:57 +00:00
2012-01-11 12:20:08 +00:00
2012-02-13 23:05:18 +00:00
2012-02-29 01:53:13 +00:00
2013-07-14 01:42:54 +00:00
2013-02-22 09:09:42 +00:00
2013-07-14 01:42:54 +00:00
2012-04-30 11:56:58 +00:00
2013-04-30 17:52:57 +00:00
2013-07-14 01:42:54 +00:00
2012-06-07 01:02:13 +00:00
2012-11-08 20:34:25 +00:00
2013-11-15 01:34:59 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2012-10-26 17:17:05 +00:00
2012-12-14 20:43:49 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-17 20:06:03 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-09-27 10:14:43 +00:00
2012-07-02 12:47:22 +00:00
2013-12-07 02:58:45 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-09-03 21:05:48 +00:00
2013-07-14 01:42:54 +00:00
2013-08-14 00:24:38 +00:00
2013-08-16 00:15:20 +00:00
2013-04-12 21:56:23 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:42:54 +00:00
2013-07-09 07:50:59 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 19:09:46 +00:00
2013-07-30 20:45:05 +00:00
2013-08-28 23:04:41 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 19:09:46 +00:00
2012-09-27 10:14:43 +00:00
2012-09-27 10:14:43 +00:00
2013-07-14 01:50:49 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 19:09:46 +00:00
2013-07-30 20:45:05 +00:00
2013-08-12 07:26:09 +00:00
2013-07-14 01:42:54 +00:00
2013-07-13 22:00:58 +00:00
2013-09-19 20:59:04 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 19:09:46 +00:00
2011-06-17 07:06:44 +00:00
2012-07-02 12:47:22 +00:00
2011-06-17 06:36:20 +00:00
2013-07-30 20:45:05 +00:00
2013-09-17 21:10:14 +00:00
2013-07-14 01:42:54 +00:00
2013-11-15 01:34:59 +00:00
2013-08-19 22:17:40 +00:00
2013-11-16 16:00:48 +00:00
2013-02-14 03:23:37 +00:00
2013-11-15 01:34:59 +00:00
2013-11-04 20:46:52 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 19:09:46 +00:00
2012-08-10 20:55:20 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-11-22 21:49:45 +00:00
2013-11-22 21:49:45 +00:00
2012-12-30 01:28:40 +00:00
2013-07-14 01:42:54 +00:00
2013-07-02 05:21:11 +00:00
2013-07-09 22:01:22 +00:00
2013-07-14 01:42:54 +00:00
2013-12-28 02:40:19 +00:00
2012-11-13 04:16:17 +00:00
2013-08-21 18:54:53 +00:00
2013-11-17 02:06:35 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:50:49 +00:00
2013-09-19 21:13:46 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-08-12 12:43:26 +00:00
2013-12-16 22:42:40 +00:00
2013-09-30 14:18:35 +00:00
2013-07-30 23:53:17 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-20 07:13:13 +00:00
2012-12-14 22:08:26 +00:00
2011-11-29 23:57:10 +00:00
2013-08-28 23:04:41 +00:00
2012-07-02 12:47:22 +00:00
2013-10-03 21:08:05 +00:00
2013-11-28 21:38:05 +00:00
2013-11-28 21:38:05 +00:00
2013-08-12 12:43:26 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-11-15 01:34:59 +00:00
2013-10-03 18:15:57 +00:00
2013-09-04 11:57:17 +00:00
2013-11-16 16:00:48 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-09-30 21:11:01 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2013-02-16 23:41:36 +00:00
2013-07-21 23:11:42 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:50:49 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 19:09:46 +00:00
2010-12-20 01:06:23 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 19:09:46 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-08-21 19:53:10 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:42:54 +00:00
2011-06-17 03:14:27 +00:00
2013-07-14 01:42:54 +00:00
2012-12-30 01:28:40 +00:00
2013-07-14 01:42:54 +00:00
2013-11-15 01:34:59 +00:00
2013-10-07 18:06:48 +00:00
2012-07-02 12:47:22 +00:00
2013-11-12 22:38:59 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:50:49 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2013-12-06 21:48:36 +00:00
2013-07-14 01:42:54 +00:00
2013-12-15 20:36:17 +00:00
2013-07-14 01:42:54 +00:00
2013-08-19 06:55:47 +00:00
2012-07-02 12:47:22 +00:00
2013-07-13 22:00:58 +00:00
2012-04-04 12:51:34 +00:00
2012-11-14 20:18:34 +00:00
2013-12-02 18:43:59 +00:00
2013-05-19 13:28:39 +00:00
2013-08-12 12:43:26 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-30 21:01:36 +00:00
2012-11-21 14:46:18 +00:00
2013-08-28 23:04:41 +00:00
2013-07-14 01:42:54 +00:00
2013-11-04 20:36:06 +00:00
2012-07-02 12:47:22 +00:00
2013-09-27 20:35:39 +00:00
2012-07-02 19:09:46 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-08-30 14:35:35 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-11-03 06:48:38 +00:00
2013-07-14 01:42:54 +00:00
2013-08-12 12:43:26 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-09-27 18:34:27 +00:00
2013-10-07 18:06:48 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-08-15 20:58:59 +00:00
2012-10-13 16:45:37 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-10-07 18:06:48 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-08-15 20:58:59 +00:00
2012-10-13 16:45:37 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-09-27 18:34:27 +00:00
2013-07-14 01:42:54 +00:00
2013-08-21 19:53:10 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2012-08-28 10:01:43 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:50:49 +00:00
2013-04-18 19:56:44 +00:00
2013-08-28 23:04:41 +00:00
2013-04-22 20:51:10 +00:00
2013-08-28 23:04:41 +00:00
2012-07-02 12:47:22 +00:00
2013-05-24 12:29:54 +00:00
2010-12-17 23:12:19 +00:00
2013-09-18 12:06:59 +00:00
2012-12-30 02:33:22 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2013-03-28 19:34:14 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:50:49 +00:00
2013-08-31 18:19:35 +00:00
2011-05-26 23:13:19 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 19:09:46 +00:00
2012-07-02 12:47:22 +00:00
2013-07-14 01:42:54 +00:00
2012-07-02 12:47:22 +00:00
2011-06-17 03:14:27 +00:00