[llvm-dev] About trigonometric Instructions
Ryan Taylor via llvm-dev
llvm-dev at lists.llvm.org
Mon Nov 7 03:57:55 PST 2016
Some of these SDnodes are already defined in ISDOpcodes.h (FSIN, FCOS and
also FSINCOS), so just map from them.
For the others you can add an intrinsic (this is how we've done it) and map
from those (or you could add the ISD yourself).
On Mon, Nov 7, 2016 at 6:50 AM, Varun Patil via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> HI developers,
> I want to add trigonometric instructions in my instrinfo.td files how
> can i directly map these instructions in .td files. Please help me Guys.For
> Sin, Cos, Tan and Cot Instructions.
> If I used llvm.sin.* as SDNode Then it is error as llvm variable is not
> defined SO please Help me.
> Thanks and Regards
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev