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: unassignedb...@nondot.org
          Reporter: j...@freebsd.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to