Displaying 1 result from an estimated 1 matches for "mynode2".
Did you mean:
mynode
2014 Jul 29
2
[LLVMdev] to lower "write to argument pointer"
..._CHAIN, so the return value and the value to write to dst are generated with some operations using src:
"
// it is the frame index node corresponding to input pointer
SDvalue frindex = Op.getoperand(3);
…
SDValue returnValue = DAG.getNode(myNode1, DL, VT….);
SDValue dstValue = DAG.getNode(myNode2, DL, VT….);
// to save the value to dst pointer, I think I need some call like
SDValue dstOut = DAG.getStore(chain, DL, dstValue, FrameIndex, MachinePointerInfo(), false, false, 0);
“
I have two questions here:
(1) should I return some merges values( returnValue, DstValue) ? or only return ret...