Sanjay Patel e4e5cf5a66 make reciprocal estimate code generation more flexible by adding command-line options (3rd try)
The first try (r238051) to land this was reverted due to ExecutionEngine build failure;
that was hopefully addressed by r238788.

The second try (r238842) to land this was reverted due to BUILD_SHARED_LIBS failure;
that was hopefully addressed by r238953.

This patch adds a TargetRecip class for processing many recip codegen possibilities.
The class is intended to handle both command-line options to llc as well
as options passed in from a front-end such as clang with the -mrecip option.

The x86 backend is updated to use the new functionality.
Only -mcpu=btver2 with -ffast-math should see a functional change from this patch.
All other x86 CPUs continue to *not* use reciprocal estimates by default with -ffast-math.

Differential Revision: http://reviews.llvm.org/D8982



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239001 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-04 01:32:35 +00:00
..
2014-10-16 20:00:02 +00:00
2014-12-15 22:34:58 +00:00
2015-06-03 13:41:48 +00:00
2015-06-03 13:41:48 +00:00
2014-01-16 06:31:20 +00:00
2014-04-19 13:47:43 +00:00
2014-05-05 16:47:07 +00:00
2015-04-06 22:29:07 +00:00
2015-04-06 22:29:07 +00:00
2014-10-21 23:01:01 +00:00
2014-10-21 23:01:01 +00:00
2015-03-06 20:51:25 +00:00
2015-03-06 21:50:27 +00:00
2015-01-08 07:57:27 +00:00
2014-05-06 01:20:42 +00:00
2014-03-21 00:30:24 +00:00
2014-02-25 20:01:08 +00:00
2013-12-03 09:17:32 +00:00
2013-11-26 20:31:31 +00:00
2014-11-11 20:49:16 +00:00
2015-06-02 22:33:30 +00:00
2015-05-28 22:12:27 +00:00
2014-12-03 02:08:38 +00:00
2014-12-03 02:08:38 +00:00
2015-02-05 23:52:12 +00:00
2015-01-26 21:28:32 +00:00
2015-04-30 21:22:28 +00:00
2015-05-02 11:50:47 +00:00
2015-01-26 21:28:32 +00:00
2015-02-11 15:00:41 +00:00
2015-02-11 15:00:19 +00:00
2015-03-06 21:30:18 +00:00
2014-01-11 21:06:00 +00:00
2015-03-06 20:38:55 +00:00
2015-03-06 20:46:16 +00:00
2015-02-11 14:58:25 +00:00
2014-06-07 21:23:09 +00:00