<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - icmp eq <16 x i1> works incorrectly on AVX512" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23631&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=p8wUEiem8hiUdM4L6TndZhLRYut_8QYCI-lU6QtYvjo&s=CmJLIfK_VRRlFUyDqPb2EkvrHlFqW_o4qFPDtEuHVPY&e=">23631</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>icmp eq <16 x i1> works incorrectly on AVX512
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>llc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Vsevolod.Livinskij@frtk.ru
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=14369" name="attach_14369" title="Reproducer.">attachment 14369</a> <a href="attachment.cgi?id=14369&action=edit" title="Reproducer.">[details]</a></span>
Reproducer.
llc emits incorrect instructions for icmp eq <16 x i1> when I compile with llc
-mcpu=knl repr.ll . With -mcpu=core-avx2 everything works fine.
Compile: llc -mcpu=knl repr.ll
clang++ -march=knl main.cpp repr.s
Run: sde -knl -- ./a.out
llc -version
LLVM (<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=p8wUEiem8hiUdM4L6TndZhLRYut_8QYCI-lU6QtYvjo&s=Axdw4jiW068sEBXascQ2W6JLDDwDHlkXjpHp_sZRf0A&e=">http://llvm.org/</a>):
LLVM version 3.7.0svn
Optimized build with assertions.
Built May 21 2015 (15:01:04).
Default target: x86_64-unknown-linux-gnu
Host CPU: sandybridge
clang version 3.7.0 (trunk 237892)</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>