[LLVMdev] llvm builtins

reed kotler rkotler at mips.com
Wed Feb 4 16:53:57 PST 2015


There are a lot of similar builtin issues.

I was just giving a single example.

Ditto for sqrt, sin, cos, exp, .....

On 02/04/2015 04:23 PM, Reid Kleckner wrote:
> Should be fixed in to always use the LLVM builtin in r228240.
>
> On Wed, Feb 4, 2015 at 3:39 PM, reed kotler <rkotler at mips.com 
> <mailto:rkotler at mips.com>> wrote:
>
>     In the following example with gcc style builtins, in once case
>     llvm.powi.f64 is emitted
>     and in the other just a call to library function powf.
>
>      ~/llvm/build/Debug+Asserts/bin/clang -S -emit-llvm pow1.c
>
>     Why is that?
>
>     Is there a way to force the call to an llvm style builtin?
>
>     Tia.
>
>     Reed
>
>     _______________________________________________
>     LLVM Developers mailing list
>     LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu>
>     http://llvm.cs.uiuc.edu
>     http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150204/d6b0a2ac/attachment.html>


More information about the llvm-dev mailing list