Re: [PATCH] apply transformation on Darwin platform: pow(10, x) ―> __exp10(x)

Meador Inge meadori at codesourcery.com
Thu Dec 5 08:48:44 PST 2013


On 12/05/2013 08:55 AM, Stephen Canon wrote:

> On Dec 5, 2013, at 1:07 AM, Yi Jiang <yjiang at apple.com> wrote:
> 
>> +  // "__exp10" and "__exp10f" is Darwin-specific and would be only avaliable on 
>> +  // Mac OS/X 10.9 and iOS 7.0 and later.
>> ...
>> +; Check pow(10.0, x) -> __exp10(x) on Mac OS/X 10.9+ and iOS 7.0+ .
> 
> Typos: “available” and “Mac OS X” (no slash).
> 
> This looks fine from a numerics standpoint.  Someone else will need to review the compiler aspects of it.

There are some 80-column violations in the simplifier additions, but other than
that the other bits LGTM.

-- 
Meador Inge
CodeSourcery / Mentor Embedded



More information about the llvm-commits mailing list