<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 5, 2014 at 9:14 AM, Benjamin Kramer <span dir="ltr"><<a href="mailto:benny.kra@googlemail.com" target="_blank">benny.kra@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":9rr" class="a3s" style="overflow:hidden">Author: <span class="il">d0k</span><br>
Date: Sun Oct  5 11:14:29 2014<br>
New Revision: 219084<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=219084&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=219084&view=rev</a><br>
Log:<br>
X86: Don't drop half of the mask when converting 2-address shufps into 3-address pshufd.<br>
<br>
It's debatable whether this transform is useful at all, but for now make sure<br>
we don't generate invalid asm.</div></blockquote></div><br>Thanks for the fix, but I don't think it is even debatable. Trading a copy for a domain cross seems like a very, very bad trade. I've removed this optimization in r219090.</div></div>