<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 - [X86] AVX512 -verify-machineinstrs errors"
href="https://bugs.llvm.org/show_bug.cgi?id=38147">38147</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[X86] AVX512 -verify-machineinstrs errors
</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>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>llvm-dev@redking.me.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>craig.topper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>We're seeing the following intrinsics tests fail on avx512 tests when
-verify-machineinstrs is enabled:
LLVM :: CodeGen/X86/sse-intrinsics-fast-isel-x86_64.ll
LLVM :: CodeGen/X86/sse-intrinsics-fast-isel.ll
LLVM :: CodeGen/X86/sse2-intrinsics-fast-isel-x86_64.ll
LLVM :: CodeGen/X86/sse2-intrinsics-fast-isel.ll
LLVM :: CodeGen/X86/sse42-intrinsics-fast-isel.ll
LLVM :: CodeGen/X86/sse42-intrinsics-x86.ll
e.g.
# After Instruction Selection
# Machine code for function test_mm_cvttsd_si32: IsSSA, TracksLiveness
Function Live Ins: $xmm0 in %0
bb.0 (%ir-block.0):
liveins: $xmm0
%0:vr128x = COPY $xmm0
%1:vr128x = COPY %0:vr128x
%3:gr32 = VCVTTSD2SIrr %1:vr128x
$eax = COPY %3:gr32
RETQ implicit $eax
# End machine code for function test_mm_cvttsd_si32.
*** Bad machine code: Illegal virtual register for instruction ***
- function: test_mm_cvttsd_si32
- basic block: %bb.0 (0x25e7a132f88)
- instruction: %3:gr32 = VCVTTSD2SIrr %1:vr128x
- operand 1: %1:vr128x
Expected a FR64 register, but got a VR128X register
LLVM ERROR: Found 1 machine code errors.</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>