<div dir="ltr"><div>Matt,</div><div><br></div><div> Is this an example you are talking about:</div><div><br></div><div>LoadedVect = DAG.<a title="Gets or creates the specified node." href="http://llvm.org/docs/doxygen/html/classllvm_1_1SelectionDAG.html#ab02868bea897db34232413f1929ade1d"><font color="#0066cc">getNode</font></a>(<a title="RESULT = INTRINSIC_WO_CHAIN(INTRINSICID, arg1, arg2, ...) This node represents a target intrinsic fun..." href="http://llvm.org/docs/doxygen/html/namespacellvm_1_1ISD.html#a22ea9cec080dd5f4f47ba234c2f59110ac771b9cda3b889242d457cc4d9b2159c"><font color="#0066cc">ISD::INTRINSIC_WO_CHAIN</font></a>, dl, MVT::v4f64,<br><a name="l06919"></a> DAG.<a href="http://llvm.org/docs/doxygen/html/classllvm_1_1SelectionDAG.html#adf7343dcb7fff67cf516abca4c1d6793"><font color="#0066cc">getConstant</font></a>(Intrinsic::ppc_qpx_qvfcfidu, dl, MVT::i32),<br><a name="l06920"></a> LoadedVect);</div><div><br></div><div>Something like this?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 2, 2016 at 12:55 PM, Matt Arsenault <span dir="ltr"><<a href="mailto:arsenm2@gmail.com" target="_blank">arsenm2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
> On Feb 2, 2016, at 09:44, Ryan Taylor <<a href="mailto:ryta1203@gmail.com">ryta1203@gmail.com</a>> wrote:<br>
><br>
> Matt,<br>
><br>
> Thanks for the response. Is there an example in the code somewhere of doing the intrinsic ID method? I don't need to put it a lot of places so I'm not sure it warrants adding a node.<br>
><br>
> Thanks.<br>
<br>
</span>Just do a git grep “getNode(ISD::INTRINSIC_WO_CHAIN”. It looks like there are a bunch in AArch64ISelLowering</blockquote></div><br></div>