[cfe-dev] [LLVMdev] Clang does not use C library intrinsics?

Chen Li meloli87 at gmail.com
Thu Mar 13 18:49:49 PDT 2014


Hi Jevin,

Thanks for the suggestions. I will forward this to cfe-dev.

best,
chen



On Mar 13, 2014 5:16 PM, "Jevin Sweval" <jevinsweval at gmail.com> wrote:
On Thu, Mar 13, 2014 at 7:30 PM, Chen Li <meloli87 at gmail.com> wrote:
> Hi folks,
>
> Recently I happened to use some LLVM's intrinsics in my own project and would like to verify the correctness the intrinsics. I did several small c++ tests using the math library, and I found out that clang only compile "pow" to its standard C library intrinsics. I am curious about the reason and wonder if some of the intrinsic is not working correctly in the current version?
>
> thanks,
> chen

Have you tried using -fno-builtin? Also, this sounds like a question
better suited for cfe-dev.

Cheers,
Jevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140313/b54f695a/attachment.html>


More information about the cfe-dev mailing list