<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 7:28 AM, Tom Stellard <span dir="ltr"><<a href="mailto:tom@stellard.net" target="_blank">tom@stellard.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Wed, Jul 09, 2014 at 10:58:19AM -0000, <span class="il">Chandler</span> Carruth wrote:<br>
> Author: <span class="il">chandlerc</span><br>
> Date: Wed Jul  9 05:58:18 2014<br>
> New Revision: 212610<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=212610&view=rev" target="_blank">http://<span class="il">llvm</span>.org/viewvc/<span class="il">llvm</span>-project?rev=212610&view=rev</a><br>
> Log:<br>
> [x86] Add a ZERO_EXTEND_VECTOR_INREG DAG node and use it when widening<br>
> vector types to be legal and a ZERO_EXTEND node is encountered.<br>
><br>
<br>
</div>Is this node legal by default?  If so, you should alert the target<br>
maintainers so they can update their backends.</blockquote></div><br>Great question, and thanks for the further discussion on IRC. It should default to expand because it is mostly useful as a way to type legalize without scalarization. I've made that switch in r212661 (thanks for the tip on how) and so this should work fine out of the box for any target but allow targets to hook it as needed.</div>
</div>