Displaying 2 results from an estimated 2 matches for "intrinsiclowerinpass".
2017 Jul 11
2
intrinsics
...lo,
I would like to find out a detail about intrinsics functions. When I use
memset form a standard library it is always converted to llvm's memset,
however the usage of some others as sqrt, pow, sin do not lead to the same.
How can I get the same effect?
Why there is no overall LLVM pass like IntrinsicLowerinPass.cpp (it has
only some specific ones)? There is only a function that does this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170711/1f364965/attachment-0001.html>
2017 Jul 11
2
intrinsics
...rary functions, so clang doesn't normally
> convert them. (If you use -ffast-math, clang will convert them anyway.)
> This is an area which could probably be improved, but it's complicated
> because we depend on the host's libm.
>
> Why there is no overall LLVM pass like IntrinsicLowerinPass.cpp (it has
>> only some specific ones)? There is only a function that does this.
>>
>
> Some intrinsics expose functionality which can't be expressed using IR
> instructions.
>
> -Eli
>
> --
> Employee of Qualcomm Innovation Center, Inc.
> Qualcomm Innova...