llvm-6502/lib
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
..
Analysis
Archive
AsmParser
Bitcode Use an AttrBuilder to generate the correct AttributeSet. 2013-01-29 01:43:29 +00:00
CodeGen Teach SDISel to combine fsin / fcos into a fsincos node if the following 2013-01-29 02:32:37 +00:00
DebugInfo
ExecutionEngine Formatting correction 2013-01-29 00:50:18 +00:00
IR Use an AttrBuilder to generate the correct AttributeSet. 2013-01-29 01:43:29 +00:00
Linker
MC
Object
Option
Support
TableGen
Target Teach SDISel to combine fsin / fcos into a fsincos node if the following 2013-01-29 02:32:37 +00:00
Transforms
CMakeLists.txt
LLVMBuild.txt
Makefile