Evan Cheng
8688a58c53
Teach SDISel to combine fsin / fcos into a fsincos node if the following
...
conditions are met:
1. They share the same operand and are in the same BB.
2. Both outputs are used.
3. The target has a native instruction that maps to ISD::FSINCOS node or
the target provides a sincos library call.
Implemented the generic optimization in sdisel and enabled it for
Mac OSX. Also added an additional optimization for x86_64 Mac OSX by
using an alternative entry point __sincos_stret which returns the two
results in xmm0 / xmm1.
rdar://13087969
PR13204
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173755 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-29 02:32:37 +00:00
..
2013-01-10 00:45:19 +00:00
2013-01-18 21:50:24 +00:00
2013-01-02 11:36:10 +00:00
2012-12-03 17:02:12 +00:00
2013-01-07 11:13:51 +00:00
2013-01-10 00:45:19 +00:00
2012-12-27 06:47:41 +00:00
2012-12-03 17:02:12 +00:00
2012-05-21 03:11:23 +00:00
2012-12-11 00:18:02 +00:00
2013-01-10 22:13:13 +00:00
2012-12-03 17:02:12 +00:00
2012-09-17 06:59:23 +00:00
2012-06-09 00:01:45 +00:00
2013-01-02 11:36:10 +00:00
2013-01-29 02:32:37 +00:00
2012-12-03 17:02:12 +00:00
2013-01-10 00:45:19 +00:00
2013-01-02 11:36:10 +00:00
2012-12-03 17:02:12 +00:00
2012-12-03 17:02:12 +00:00
2012-12-05 21:37:47 +00:00
2013-01-10 00:45:19 +00:00
2012-05-19 05:25:46 +00:00
2012-12-03 17:02:12 +00:00
2013-01-10 00:45:19 +00:00
2012-12-03 17:02:12 +00:00
2012-12-18 23:21:49 +00:00
2012-12-03 17:02:12 +00:00
2012-12-03 17:02:12 +00:00
2013-01-10 00:45:19 +00:00
2012-10-08 16:38:25 +00:00
2012-12-03 17:02:12 +00:00
2013-01-10 01:10:10 +00:00
2013-01-05 05:00:09 +00:00
2013-01-10 00:45:19 +00:00
2013-01-10 00:45:19 +00:00
2013-01-25 07:45:25 +00:00
2013-01-09 01:02:19 +00:00
2013-01-09 01:02:19 +00:00
2012-12-03 17:02:12 +00:00
2013-01-10 00:45:19 +00:00
2012-08-29 21:08:52 +00:00
2013-01-02 11:36:10 +00:00
2012-09-26 06:36:36 +00:00
2013-01-07 23:21:44 +00:00
2012-04-19 01:34:10 +00:00
2012-12-03 17:02:12 +00:00
2013-01-05 04:38:12 +00:00
2013-01-25 07:45:29 +00:00
2012-09-17 06:59:23 +00:00
2013-01-17 01:06:04 +00:00
2013-01-10 00:45:19 +00:00
2013-01-17 00:58:38 +00:00
2013-01-02 11:36:10 +00:00
2012-12-03 17:02:12 +00:00
2013-01-10 00:45:19 +00:00
2013-01-12 00:54:59 +00:00
2012-12-05 23:05:22 +00:00
2013-01-10 00:45:19 +00:00
2013-01-10 00:45:19 +00:00
2013-01-29 02:32:37 +00:00
2013-01-25 07:45:29 +00:00
2013-01-21 18:18:53 +00:00
2013-01-25 06:52:27 +00:00
2012-06-05 03:44:32 +00:00
2013-01-10 00:45:19 +00:00
2012-12-03 17:02:12 +00:00
2013-01-22 09:46:31 +00:00
2013-01-10 00:45:19 +00:00
2013-01-02 11:36:10 +00:00
2012-12-27 11:29:17 +00:00
2012-12-03 17:02:12 +00:00
2013-01-10 00:45:19 +00:00
2012-12-24 10:03:57 +00:00
2012-12-24 10:03:57 +00:00
2012-12-04 00:35:59 +00:00