[llvm-dev] Changing only the opcode of a SelectionDAG node

Liad Mordekoviz via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 28 00:34:09 PST 2017


Hello,
When going through LowerOperation hook of the TargetLowering class,
I was wondering if there is a way to manipulate the existing node and then
return it, instead of creating a new one using the dag.getNode.
I am trying to replace the opcode of the node without changing anything
else.
thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171128/65413c1f/attachment.html>


More information about the llvm-dev mailing list