[llvm-dev] creating Intrinsic DAG Node

Ryan Taylor via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 2 09:29:43 PST 2016

I'm trying to 'lower' an operation that needs to create a node in the SD
that is an intrinsic call.... what is the best way to do this?

I see in the DAGBuilder it calls 'setValue' which adds to the map
NodeMap[V] where V is the key and the passed in SDValue is the value but
I'm not sure this is a good way to do it since these are local to
SelectionDAGBuilder and the lowering needs to happen in XXXISelLowering.cpp.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160202/5cd67c89/attachment.html>

More information about the llvm-dev mailing list