[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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev