[llvm-dev] linking an ISD node to a function
Josh Sharp via llvm-dev
llvm-dev at lists.llvm.org
Fri May 3 15:42:51 PDT 2019
Hi all,
Is there any way to link an ISD node to a specific function? What I mean by that is that my target CPU architecture doesn't have a DIV instruction but there is a divide() function implemented in C. Whenever an ISD::UDIV or ISD::SDIV node is encountered, rather than trying to match a DAG pattern, I just want divide() to be called.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190503/66be06b8/attachment.html>
More information about the llvm-dev
mailing list