[llvm-dev] ADDING A CUSTOM INSTRINSIC

Sayantan Majumdar via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 19 07:15:12 PDT 2017


Hello all. I am new to LLVM. I have added a custom intrinsic *foo* by
creating a new folder in *lib/Target/Foo* and creating a new file *Foo.td*.
I then built the entire llvm project and the intrinsic *foo* has been added
successfully. But I am unable to figure out how to add the pseudo
instruction for it. For example if I want my intrinsic foo to perform
multiplication of two integers, where should I add this instruction? I have
googled a lot and couldn't find anything concrete.
-- 

Sayantan Majumdar
Research Intern at RISE Lab,
Indian Institute of Technology Madras, Chennai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170619/63b4b536/attachment.html>


More information about the llvm-dev mailing list