<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - New vector shuffle lowering produces an insertf128 + blend instead of a single insertf128"
href="https://bugs.llvm.org/show_bug.cgi?id=21138">bug 21138</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Fixed By Commit(s)</td>
<td>
</td>
<td>339818
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>REOPENED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - New vector shuffle lowering produces an insertf128 + blend instead of a single insertf128"
href="https://bugs.llvm.org/show_bug.cgi?id=21138#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - New vector shuffle lowering produces an insertf128 + blend instead of a single insertf128"
href="https://bugs.llvm.org/show_bug.cgi?id=21138">bug 21138</a>
from <span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span></b>
<pre>This was fixed by rL339818
AVX1:
PR21138: # @PR21138
vperm2f128 $49, %ymm1, %ymm0, %ymm2 # ymm2 = ymm0[2,3],ymm1[2,3]
vinsertf128 $1, %xmm1, %ymm0, %ymm0
vshufps $221, %ymm2, %ymm0, %ymm0 # ymm0 =
ymm0[1,3],ymm2[1,3],ymm0[5,7],ymm2[5,7]
retq
AVX2:
PR21138: # @PR21138
vshufps $221, %ymm1, %ymm0, %ymm0 # ymm0 =
ymm0[1,3],ymm1[1,3],ymm0[5,7],ymm1[5,7]
vpermpd $216, %ymm0, %ymm0 # ymm0 = ymm0[0,2,1,3]
retq</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>