<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 - [RegAlloc: Subreg liveness] Bad machine code: Subrange must not be empty"
   href="https://bugs.llvm.org/show_bug.cgi?id=49690">49690</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[RegAlloc: Subreg liveness] Bad machine code: Subrange must not be empty
          </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>Common Code Generator Code
          </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=24684" name="attach_24684" title="reduced testcase">attachment 24684</a> <a href="attachment.cgi?id=24684&action=edit" title="reduced testcase">[details]</a></span>
reduced testcase

llc -mcpu=arch13 -O3 -disable-machine-dce -disable-cgp -systemz-subreg-liveness
-join-globalcopies=false -verify-misched  tc_crash0_aftercreduce.ll

# Before machine scheduling.
********** INTERVALS **********
R2L [0B,16r:0)[176r,192r:1)  0@0B-phi 1@176r
R2H [0B,16r:0)[176r,192r:1)  0@0B-phi 1@176r
%0 [16r,144r:0)[160B,176r:0)  0@16r L0000000000000000 EMPTY LFFFFFFFFFFFFFFFF
[16r,144r:0)[160B,176r:0)  0@16r weight:0.000000e+00
%3 [48r,64r:0)  0@48r weight:0.000000e+00
RegMasks:
********** MACHINEINSTRS **********
# Machine code for function e: NoPHIs, TracksLiveness, TiedOpsRewritten
Function Live Ins: $r2d in %1

0B      bb.0.bb:
          successors: %bb.2(0x80000000), %bb.1(0x00000000); %bb.2(100.00%),
%bb.1(0.00%)
          liveins: $r2d
16B       %0:gr64bit = COPY $r2d
48B       %3:grx32bit = LHIMux 0
64B       CHIMux %3:grx32bit, 0, implicit-def $cc
80B       BRC 14, 6, %bb.2, implicit killed $cc
96B       J %bb.1

112B    bb.1.bb1:
        ; predecessors: %bb.0

144B      STGRL %0:gr64bit, @d :: (store 8 into @d)

160B    bb.2.bb3:
        ; predecessors: %bb.0

176B      $r2d = COPY %0:gr64bit
192B      Return implicit $r2d

# End machine code for function e.

*** Bad machine code: Subrange must not be empty ***
- function:    e
- liverange:   EMPTY
- v. register: %0</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>