<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - Codegen faiilure: ran out of registers during register allocation"
   href="https://llvm.org/bugs/show_bug.cgi?id=28755">28755</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Codegen faiilure: ran out of registers during register allocation
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pirama@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, srhines@google.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16832" name="attach_16832" title="Zip archive with files to reproduce the crash">attachment 16832</a> <a href="attachment.cgi?id=16832&action=edit" title="Zip archive with files to reproduce the crash">[details]</a></span>
Zip archive with files to reproduce the crash

File class_linker.cc in a pending AOSP CL
(<a href="https://android-review.googlesource.com/#/c/251065/1/runtime/class_linker.cc">https://android-review.googlesource.com/#/c/251065/1/runtime/class_linker.cc</a>)
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
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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.</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>