<div dir="ltr"><div><div>But don't the defs for ADDR_RR and ADDR_RI also contain dags?<br><br> def ADDR_RR : Addr< 2, "SelectAddrRegReg",<br> (ops GPRC:$base, GPRC:$offsetreg) >;<br> def ADDR_RI : Addr< 2, "SelectAddrRegImm",<br> (ops GPRC:$base, i64imm:$offsetimm) >;<br><br></div>Do I need to create some other intermediate node type for a shifted address?<br><br></div>Phil<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 26, 2016 at 1:42 PM, Krzysztof Parzyszek via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 9/26/2016 3:36 PM, Phil Tomson via llvm-dev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
def ADDR_SHLI : Addr< 2, "SelectAddrShlImm",<br>
(ops GPRC:$base, ( shl GPRC:$offsetreg, (i64 3))) >;<br>
</blockquote>
<br></span>
You have a dag in the list of operands. That won't work.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Krzysztof<br>
<br>
-- <br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</font></span></blockquote></div><br></div>