Displaying 4 results from an estimated 4 matches for "getlibinfo".
2018 Jul 02
2
[RFC][VECLIB] how should we legalize VECLIB calls?
...to the platform-specific SVML or other
> intrinsics in the DAG. We already do this for mathlib calls on Linux for
> example when we can use the finite versions of the calls. Have a look in
> SelectionDAGLegalize::ConvertNodeToLibcall():
>
> if (CanUseFiniteLibCall && DAG.getLibInfo().has(LibFunc_log_finite))
> Results.push_back(ExpandFPLibCall(Node, RTLIB::LOG_FINITE_F32,
> RTLIB::LOG_FINITE_F64,
> RTLIB::LOG_FINITE_F80,
> RTLIB::LOG_FINITE...
2018 Jun 29
2
[RFC][VECLIB] how should we legalize VECLIB calls?
Ashutosh,
Thanks for the repy.
Related earlier topic on this appears in the review of the SVML patch (@mmasten). Adding few names from there.
https://reviews.llvm.org/D19544
There, I see Hal's review comment "let's start only with the directly-legal calls". Apparently, what we have right now
in the trunk is "not legal enough". I'll work on the patch to stop
2018 Jul 02
2
[RFC][VECLIB] how should we legalize VECLIB calls?
...atform-specific SVML or other
> intrinsics in the DAG. We already do this for mathlib calls on Linux for
> example when we can use the finite versions of the calls. Have a look in
> SelectionDAGLegalize::ConvertNodeToLibcall():
>
>
>
> if (CanUseFiniteLibCall && DAG.getLibInfo().has(LibFunc_log_finite))
> Results.push_back(ExpandFPLibCall(Node, RTLIB::LOG_FINITE_F32,
> RTLIB::LOG_FINITE_F64,
> RTLIB::LOG_FINITE_F80,
> RTLIB::LOG_FINITE...
2018 Jul 02
8
[RFC][VECLIB] how should we legalize VECLIB calls?
...> already do this for mathlib calls on Linux for example when we
> can use the finite versions of the calls. Have a look in
> SelectionDAGLegalize::ConvertNodeToLibcall():
>
>
>
> if (CanUseFiniteLibCall &&
> DAG.getLibInfo().has(LibFunc_log_finite))
> Results.push_back(ExpandFPLibCall(Node,
> RTLIB::LOG_FINITE_F32,
> RTLIB::LOG_FINITE_F64,
> RTLIB::LOG_FINITE_F80,
> ...