[LLVMdev] llvm builtins

reed kotler rkotler at mips.com
Wed Feb 4 16:45:51 PST 2015


I'm at tip of tree:

rkotler at ubuntu-rkotler:~/testmips/rt-rk-llvm-tests/tests-c$ 
~/llvm/build/Debug+Asserts/bin/clang -S -emit-llvm pow1.c --version
clang version 3.6.0 (trunk)
Target: x86_64-unknown-linux-gnu
Thread model: posix


commit 629438448670d1ad6d6345a782f6ca70c625e574
Merge: 7b8a410 56756c4
Author: Reed Kotler <rkotler at mips.com>
Date:   Tue Feb 3 16:10:57 2015 -0800

     Merge branch 'master' into fast-isel-47

commit 56756c43cd588d6f0565746b5aaef366af7b9d19
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date:   Tue Feb 3 03:55:06 2015 +0000

     Resurrect initializers for NumLoads and NumStores in 
LoopVectorizationLegali

     FIXME: Shall they be managed in LAA?

     git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227940 
91177308-0d3

commit 7b8a41067dac7b23d857b3768a44fa9707bde099
Author: Reed Kotler <rkotler at mips.com>
Date:   Mon Feb 2 19:33:21 2015 -0800

     math intrinsics




rkotler at ubuntu-rkotler:~/testmips/rt-rk-llvm-tests/tests-c$ 
~/llvm/build/Debug+Asserts/bin/clang -S -emit-llvm pow1.c --version
clang version 3.6.0 (trunk)
Target: x86_64-unknown-linux-gnu
Thread model: posix

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/a02199d5/attachment.html>


More information about the llvm-dev mailing list