<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 - 'Error while trying to spill V0_64 from class GPR64' when compiling FreeBSD/mips64 with -march=mips3"
href="https://bugs.llvm.org/show_bug.cgi?id=35859">35859</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>'Error while trying to spill V0_64 from class GPR64' when compiling FreeBSD/mips64 with -march=mips3
</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>FreeBSD
</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: MIPS
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jhb@FreeBSD.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=19644" name="attach_19644" title="LLVM IR">attachment 19644</a> <a href="attachment.cgi?id=19644&action=edit" title="LLVM IR">[details]</a></span>
LLVM IR
Trying to compile FreeBSD's base system for mips64 (N64) with -march=mips3 (the
minimum MIPS ISA level) triggers an error in the MIPS backend while compiling
crypto/bn/bn_asm.c from the OpenSSL tree. The original test was done using
clang 5.0.1 from FreeBSD's source tree, but I also reproduced it against LLVM's
trunk last week. I used creduce to generate a test case. Note that the
assertion only fires when optimization is enabled (-O2) and the reduced test
case compiles fine with -O0. I have attached a .bc file generated via
-emit-llvm, but I also have the reduced C source available if that is desired.</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>