<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 - Merge clang r322246 into 6.0 branch: [X86] Fix vpshrd builtins to require an ICE for their constant argument to match vpshld."
href="https://bugs.llvm.org/show_bug.cgi?id=35915">35915</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Merge clang r322246 into 6.0 branch: [X86] Fix vpshrd builtins to require an ICE for their constant argument to match vpshld.
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>craig.topper@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>This commit makes the frontend generate an error for this code because the last
argument should be an integer constant expression
__m512i test_mm512_mask_shrdi_epi64(__m512i __S, __mmask8 __U, __m512i __A,
__m512i __B, unsigned x) {
return _mm512_mask_shrdi_epi64(__S, __U, __A, __B, x);
}
Without this check in the frontend it goes to the backend and throws a fatal
error in the backend during isel. The frontend error is a better user
experience.
The _mm512_mask_shrdi_epi64 was introduced in late December 2017 so doesn't
exist in any releases before 6.0</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>