https://llvm.org/bugs/show_bug.cgi?id=28755

            Bug ID: 28755
           Summary: Codegen faiilure: ran out of registers during register
                    allocation
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: pir...@google.com
                CC: llvm-bugs@lists.llvm.org, srhi...@google.com
    Classification: Unclassified

Created attachment 16832
  --> https://llvm.org/bugs/attachment.cgi?id=16832&action=edit
Zip archive with files to reproduce the crash

File class_linker.cc in a pending AOSP CL
(https://android-review.googlesource.com/#/c/251065/1/runtime/class_linker.cc)
fails CodeGen with the following error:

fatal error: error in backend: ran out of registers during register allocation
clang++: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
Android clang version 3.8.271374  (based on LLVM 3.8.271374)
Target: i686--linux-android
Thread model: posix
InstalledDir: prebuilts/clang/host/linux-x86/clang-3016494/bin
clang++: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/class_linker-1e703f.cpp
clang++: note: diagnostic msg: /tmp/class_linker-1e703f.sh
clang++: note: diagnostic msg: 

********************

A .zip file with class_linker-1e703f.cpp and class_linker-1e703f.sh is
attached.

Also attached is a reduced IR from bugpoint.  With this IR, the following
command reproduces the crash:
    llc class_linker-reduced.ll

Note that while the original source has inline assembly, the reduced test case
doesn't.

-- 
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