Clang does not use C library intrinsics?

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

Hi Jevin,

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

best,
chen