Somehow it worked either way, but it looked weird to put a 32-bit value 
into a SCALAR_TO_VECTOR with a result type of v8i16 or v16i8. Looking at the DAG it seemed to show a SCALAR_TO_VECTOR of v4i32 and then a bitcast to v8i16 and v16i8. So I don't actually know how to write a test case.<br>
<br><div class="gmail_quote">On Thu, Dec 29, 2011 at 4:06 AM, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr">baldrick@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> Make LowerBUILD_VECTOR keep node vector types consistent when creating MOVL for v16i16 and v32i8.<br>
<br>
</div>Testcase?<br>
<br>
Ciao, Duncan.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>~Craig<br>