<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - single-operand vector shuffle fails assertion in lowerVectorShuffleAsSplitOrBlend"
href="https://bugs.llvm.org/show_bug.cgi?id=32453">32453</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>single-operand vector shuffle fails assertion in lowerVectorShuffleAsSplitOrBlend
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>andrew.b.adams@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=18194" name="attach_18194" title="ll that reproduces">attachment 18194</a> <a href="attachment.cgi?id=18194&action=edit" title="ll that reproduces">[details]</a></span>
ll that reproduces
The attached .ll used to compile correctly like so:
llc bad.ll -mattr=+avx2
Sometime between 298846 and 298880 it started failing an assertion:
llc:
/usr/local/google/home/abadams/projects/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp:11901:
llvm::SDValue lowerVectorShuffleAsSplitOrBlend(const llvm::SDLoc&, llvm::MVT,
llvm::SDValue, llvm::SDValue, llvm::ArrayRef<int>, llvm::SelectionDAG&):
Assertion `!V2.isUndef() && "This routine must not be used to lower
single-input " "shuffles as it could then recurse on itself."' failed.
Sorry that the attached .ll is large. bugpoint reduces the crash to something
that looks unrelated to me.</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>