Previously we would use these instructions if sse was disabled and fastmath was enabled.
As mentioned in D28335, this is a bad idea.
Paths
| Differential D36344
[X86] Don't use fsin/fcos/fsincos instructions ever ClosedPublic Authored by craig.topper on Aug 4 2017, 5:10 PM.
Details Summary Previously we would use these instructions if sse was disabled and fastmath was enabled. As mentioned in D28335, this is a bad idea.
Diff Detail
Event TimelineComment Actions Just a minor question on the test changes. Otherwise, this LGTM.
Comment Actions Adding Zvi as an FYI, but I think this is fine to land.
This revision is now accepted and ready to land.Aug 11 2017, 11:14 AM Closed by commit rL310762: [X86] Don't use fsin/fcos/fsincos instructions ever (authored by ctopper). · Explain WhyAug 11 2017, 1:56 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 110809 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/test/CodeGen/X86/sincos-opt.ll
llvm/trunk/test/CodeGen/X86/sincos.ll
|