X86: Emitting x87 fsin/fcos for sinf/cosf is not safe without unsafe fp math.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 15 Sep 2012 12:44:27 +0000 (12:44 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 15 Sep 2012 12:44:27 +0000 (12:44 +0000)
commit562b240fc5f461e536e58cde31a8204b1cfbebf4
tree5806ce6dc30172e4fb917a9bd897ebc187c8d7c9
parent1c8db50a9aca4229ebee75ed9cfbf8b222292787
X86: Emitting x87 fsin/fcos for sinf/cosf is not safe without unsafe fp math.

This was only an issue if sse is disabled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163967 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/sincos.ll