Enable optimization of sin / cos pair into call to __sincos_stret for iOS7+.
authorBob Wilson <bob.wilson@apple.com>
Sun, 3 Nov 2013 06:14:38 +0000 (06:14 +0000)
committerBob Wilson <bob.wilson@apple.com>
Sun, 3 Nov 2013 06:14:38 +0000 (06:14 +0000)
commitcb01efb7988d119d6e2aedab1740695aa6a9cc0c
treec64c604316f926b4c99c9abc6a930bda94fe5600
parent11cecbe1a070d461bb213a6037712f25e59a920a
Enable optimization of sin / cos pair into call to __sincos_stret for iOS7+.

rdar://12856873
Patch by Evan Cheng, with a fix for rdar://13209539 by Tilmann Scheller

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193942 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
test/CodeGen/ARM/sincos.ll [new file with mode: 0644]