<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 --- - Cannot select VZEXT_MOVL under AVX512"
href="https://llvm.org/bugs/show_bug.cgi?id=28961">28961</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot select VZEXT_MOVL under AVX512
</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>normal
</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>mkuper@google.com
</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>Reducted testcase:
===
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define fastcc void @foo() {
entry:
%l = load <8 x i64>, <8 x i64>* undef, align 8
%s = shufflevector <8 x i64> <i64 undef, i64 0, i64 0, i64 0, i64 0, i64 0,
i64 0, i64 0>, <8 x i64> %l, <8 x i32> <i32 8, i32 1, i32 2, i32 3, i32 4, i32
5, i32 6, i32 7>
br label %loop
loop:
%p = phi <8 x i64> [ %s, %entry ], [ %b, %loop ]
%b = xor <8 x i64> undef, %p
br i1 false, label %end, label %loop
end:
%x = xor <8 x i64> undef, %b
ret void
}
===
llc -mattr=+avx512f errors out:
LLVM ERROR: Cannot select: 0x3a3f350: v8i64 = X86ISD::VZEXT_MOVL 0x3a3f120
0x3a3f120: v8i64,ch = load<LD64[undef](align=8)> 0x39d76e0, undef:i64,
undef:i64
0x3a3f040: i64 = undef
0x3a3f040: i64 = undef</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>