[llvm-bugs] [Bug 28755] New: Codegen faiilure: ran out of registers during register allocation

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 28 10:22:13 PDT 2016


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: unassignedbugs at nondot.org
          Reporter: pirama at google.com
                CC: llvm-bugs at lists.llvm.org, srhines at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160728/98c0d84f/attachment-0001.html>


More information about the llvm-bugs mailing list