<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 - LLVM 6 fails to compile pocl's shuffle test"
href="https://bugs.llvm.org/show_bug.cgi?id=35820">35820</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVM 6 fails to compile pocl's shuffle test
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rakka@runbox.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=19626" name="attach_19626" title="simplified test case">attachment 19626</a> <a href="attachment.cgi?id=19626&action=edit" title="simplified test case">[details]</a></span>
simplified test case
I've attached a simplified test case. When trying to compile it with "llc -O2",
LLVM 5's llc is successful but LLVM 6 fails with:
llc: /home/0/LLVM_git/60/lib/Target/X86/X86ISelLowering.cpp:5775: bool
getTargetShuffleMask(llvm::SDNode*, llvm::MVT, bool,
llvm::SmallVectorImpl<llvm::SDValue>&, llvm::SmallVectorImpl<int>&, bool&):
Assertion `N->getOperand(1).getValueType() == VT && "Unexpected value type"'
failed.
Clang+LLVM compiled today (4th Jan 2018) from freshly updated git:
clang version 6.0.0 (<a href="http://llvm.org/git/clang.git">http://llvm.org/git/clang.git</a>
db28ee2ff44111ade7c6e1078ef80910978b6b94)
machine: AMD 1700X, gcc 7.2.1</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>