<div dir="ltr"><div>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?</div><div><br></div><div>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.</div><div><br></div><div>Thanks.</div></div>