Re: clang on armv6 incorrectly emits call to sincos()

2017-01-11 Thread Jia-Shiun Li
On Thu, Jan 12, 2017 at 12:43 AM, Ed Maste wrote: > You're right that this needs to be fixed in the compiler or the base > system, not individual ports. LLVM has a hasSinCos() and should not be > emitting the sincos libcall on platforms that do not have it. Would > you care to submit a PR for thi

Re: clang on armv6 incorrectly emits call to sincos()

2017-01-11 Thread Ed Maste
On 11 January 2017 at 09:42, Jia-Shiun Li wrote: > > Think this optimization should be turned off for armv6 from base > clang/llvm, instead of patching individual ports or ports infrastructure. You're right that this needs to be fixed in the compiler or the base system, not individual ports. LLVM