[llvm-bugs] [Bug 35859] New: 'Error while trying to spill V0_64 from class GPR64' when compiling FreeBSD/mips64 with -march=mips3
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jan 8 09:52:40 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35859
Bug ID: 35859
Summary: 'Error while trying to spill V0_64 from class GPR64'
when compiling FreeBSD/mips64 with -march=mips3
Product: libraries
Version: trunk
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: Backend: MIPS
Assignee: unassignedbugs at nondot.org
Reporter: jhb at FreeBSD.org
CC: llvm-bugs at lists.llvm.org
Created attachment 19644
--> https://bugs.llvm.org/attachment.cgi?id=19644&action=edit
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180108/b8d2a666/attachment.html>
More information about the llvm-bugs
mailing list