<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 --- - [AVX512] Cannot select v16i1 = select"
href="https://llvm.org/bugs/show_bug.cgi?id=23361">23361</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[AVX512] Cannot select v16i1 = select
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>matt@pharr.org
</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=14259" name="attach_14259" title="test case">attachment 14259</a> <a href="attachment.cgi?id=14259&action=edit" title="test case">[details]</a></span>
test case
With the attached test case, if I run "llc -mcpu=knl bug.ll", I get the
following output:
LLVM ERROR: Cannot select: 0x7f84c0892ca0: v16i1 = select 0x7f84c08cfd70,
0x7f84c08975b0, 0x7f84c08995b0 [ORD=4] [ID=44]
0x7f84c08cfd70: i1 = truncate 0x7f84c0892420 [ORD=3] [ID=41]
0x7f84c0892420: i8 = X86ISD::SETCC 0x7f84c08d0600, 0x7f84c08d1a40 [ORD=3]
[ID=39]
0x7f84c08d0600: i8 = Constant<4> [ID=22]
0x7f84c08d1a40: i32 = X86ISD::CMP 0x7f84c08d0f90, 0x7f84c08d1820 [ORD=3]
[ID=37]
0x7f84c08d0f90: i16,ch = CopyFromReg 0x7f84c0439030, 0x7f84c08d0930
[ORD=3] [ID=26]
0x7f84c08d0930: i16 = Register %vreg31 [ID=2]
0x7f84c08d1820: i16 = Constant<0> [ID=3]
0x7f84c08975b0: v16i1 = BUILD_VECTOR 0x7f84c08d0820, 0x7f84c08d0820,
0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820,
0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820,
0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820 [ORD=4] [ID=36]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
0x7f84c08995b0: v16i1,ch = CopyFromReg 0x7f84c0439030, 0x7f84c0899390 [ORD=4]
[ID=27]
0x7f84c0899390: v16i1 = Register %vreg30 [ID=4]
In function:
volume_tile___uniuniuniuniun_3C_unf_3E_un_3C_uni_3E_un_3C_Cunf_5B_4_5D__3E_un_3C_Cunf_5B_4_5D__3E_uniuniun_3C_unf_3E_</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>