<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 - __llvm_retpoline_r11 has machine verifier errors"
href="https://bugs.llvm.org/show_bug.cgi?id=38391">38391</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>__llvm_retpoline_r11 has machine verifier 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>All
</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>francisvm@yahoo.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>llc -verify-machineinstrs <
test/CodeGen/X86/speculative-load-hardening-indirect.ll
-mtriple=x86_64-unknown-linux-gnu -x86-speculative-load-hardening
-data-sections -mattr=+retpoline
Has the following errors:
# After X86 Retpoline Thunks
# Machine code for function __llvm_retpoline_r11: NoPHIs, TracksLiveness,
NoVRegs
bb.0.entry:
successors: %bb.2(0x40000000), %bb.1(0x40000000); %bb.2(200.00%),
%bb.1(200.00%)
CALL64pcrel32 %bb.2, implicit $rsp, implicit $ssp
bb.1.entry (address-taken):
; predecessors: %bb.0, %bb.1
successors: %bb.1(0x80000000); %bb.1(200.00%)
PAUSE
LFENCE
JMP_1 %bb.1
bb.2.entry (address-taken, align 4):
; predecessors: %bb.0
MOV64mr $rsp, 1, $noreg, 0, $noreg, $r11
RETQ
# End machine code for function __llvm_retpoline_r11.
*** Bad machine code: MBB exits via unconditional fall-through but doesn't have
exactly one CFG successor! ***
- function: __llvm_retpoline_r11
- basic block: %bb.0 entry (0x7f96848ad078)
*** Bad machine code: Using an undefined physical register ***
- function: __llvm_retpoline_r11
- basic block: %bb.2 entry (0x7f96848ad2d8)
- instruction: MOV64mr $rsp, 1, $noreg, 0, $noreg, $r11
- operand 5: $r11
LLVM ERROR: Found 2 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>