[LLVMdev] Clang does not use C library intrinsics?

Jevin Sweval jevinsweval at gmail.com
Thu Mar 13 17:16:59 PDT 2014


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




More information about the llvm-dev mailing list