<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 --- - [AVX-512] LLVM ERROR: Cannot select"
href="https://llvm.org/bugs/show_bug.cgi?id=25193">25193</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[AVX-512] LLVM ERROR: Cannot select
</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>shishpanov2010@yandex.ru
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=15082" name="attach_15082" title="Source IR, which causes the error.">attachment 15082</a> <a href="attachment.cgi?id=15082&action=edit" title="Source IR, which causes the error.">[details]</a></span>
Source IR, which causes the error.
The out from llc:
LLVM ERROR: Cannot select: t152: i1 = select_cc undef:i32, t235, t187, t190,
seteq:ch
t19: i32 = undef
t235: i32 = extract_vector_elt t233, Constant:i32<1>
t233: v4i32 = extract_subvector t77, Constant:i32<0>
t77: v16i32 = bitcast t31
t31: v8i64 = shl t28, t364
t28: v8i64 = bitcast t27
t27: v16i32 = BUILD_VECTOR Constant:i32<0>, Constant:i32<0>,
Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>,
Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>,
Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>,
Constant:i32<0>, Constant:i32<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t364: v8i64,ch = load<LD64[ConstantPool]> t0, t256, undef:i32
t256: i32 = X86ISD::Wrapper TargetConstantPool:i32<<16 x i32> <i32
32, i32 0, i32 32, i32 0, i32 32, i32 0, i32 32, i32 0, i32 32, i32 0, i32 32,
i32 0, i32 32, i32 0, i32 32, i32 0>> 0
t255: i32 = TargetConstantPool<<16 x i32> <i32 32, i32 0, i32 32,
i32 0, i32 32, i32 0, i32 32, i32 0, i32 32, i32 0, i32 32, i32 0, i32 32, i32
0, i32 32, i32 0>> 0
t19: i32 = undef
t25: i32 = Constant<0>
t47: i32 = Constant<1>
t187: i1 = truncate t362
t362: i8 = and t361, Constant:i8<1>
t361: i8 = X86ISD::SETCC_CARRY Constant:i8<2>, t184:1
t185: i8 = Constant<2>
t184: i32,i32 = X86ISD::SUB undef:i32, t234
t19: i32 = undef
t234: i32 = extract_vector_elt t233, Constant:i32<0>
t233: v4i32 = extract_subvector t77, Constant:i32<0>
t77: v16i32 = bitcast t31
t31: v8i64 = shl t28, t364
t28: v8i64 = bitcast t27
t364: v8i64,ch = load<LD64[ConstantPool]> t0, t256, undef:i32
t25: i32 = Constant<0>
t25: i32 = Constant<0>
t301: i8 = Constant<1>
t190: i1 = truncate t358
t358: i8 = and t357, Constant:i8<1>
t357: i8 = X86ISD::SETCC_CARRY Constant:i8<2>, t188:1
t185: i8 = Constant<2>
t188: i32,i32 = X86ISD::SUB undef:i32, t235
t19: i32 = undef
t235: i32 = extract_vector_elt t233, Constant:i32<1>
t233: v4i32 = extract_subvector t77, Constant:i32<0>
t77: v16i32 = bitcast t31
t31: v8i64 = shl t28, t364
t28: v8i64 = bitcast t27
t364: v8i64,ch = load<LD64[ConstantPool]> t0, t256, undef:i32
t25: i32 = Constant<0>
t47: i32 = Constant<1>
t301: i8 = Constant<1>
In function: f_fu
keys for llc: -mcpu=knl -march=x86</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>