<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - [enableSubRegLiveness] Crashes on SPEC / SystemZ"
   href="https://bugs.llvm.org/show_bug.cgi?id=38544">38544</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[enableSubRegLiveness]  Crashes on SPEC / SystemZ
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </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>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Register Allocator
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>paulsson@linux.vnet.ibm.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20689" name="attach_20689" title="Patch that enables subreg liveness on SystemZ.">attachment 20689</a> <a href="attachment.cgi?id=20689&action=edit" title="Patch that enables subreg liveness on SystemZ.">[details]</a></span>
Patch that enables subreg liveness on SystemZ.

SystemZ has never gotten to enable subreg liveness, since benchmark immediately
fail to build.

About all SPEC benchmarks fail to build, when one of these two assertions
trigger:

RegisterCoalescer.cpp:2395: {anonymous}::JoinVals::ConflictResolution
{anonymous}::JoinVals::analyzeValue(unsigned int, {anonymous}::JoinVals&):
Assertion `DefMI != nullptr' failed.

VirtRegMap.cpp:366: bool {anonymous}::VirtRegRewriter::readsUndefSubreg(const
llvm::MachineOperand&) const: Assertion `SubRegIdx != 0 && LI.hasSubRanges()'
failed.

Please find attached a patch that enables subreg liveness on SystemZ, plus one
reduced test case for each of the assertions above.

Thanks for any help on this,

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