PS4 supports sincosf and sincos. This patch enables the sin(f)+cos(f) -> sincos(f) optimization.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thanks @rob.lougher! Just one minor - please can you add PS4_SINCOS checks to the x86_fp80 tests to ensure those calls stays separate?
Comment Actions
Updated test3 and test3_errno to check that sinl+cosl does not get transformed into sincosl.