<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [InstCombine] canonicalize extractelement reductions with shuffles"
href="https://bugs.llvm.org/show_bug.cgi?id=25808">bug 25808</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;">Status</td>
<td>CONFIRMED
</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 - [InstCombine] canonicalize extractelement reductions with shuffles"
href="https://bugs.llvm.org/show_bug.cgi?id=25808#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [InstCombine] canonicalize extractelement reductions with shuffles"
href="https://bugs.llvm.org/show_bug.cgi?id=25808">bug 25808</a>
from <span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span></b>
<pre>(In reply to Simon Pilgrim from <a href="show_bug.cgi?id=25808#c8">comment #8</a>)
<span class="quote">> Resolve this? Reduction costs have been tidied up a lot in the past year,
> allowing the SLP to vectorize this to a reduction pattern, even on sse2
> targets.</span >
Yes, that's probably better than trying to do this in instcombine. We're still
unable to create arbitrary shuffles in instcombine because we don't know what
kind of target support there exists to back that up.
For x86, I think we get the expected codegen for all targets, including a
horizontal math op if that's desirable.</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>