<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 - Bad machine code: Subrange lanemask is invalid"
   href="https://bugs.llvm.org/show_bug.cgi?id=49346">49346</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Bad machine code: Subrange lanemask is invalid
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </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=24570" name="attach_24570" title="reduced testcase">attachment 24570</a> <a href="attachment.cgi?id=24570&action=edit" title="reduced testcase">[details]</a></span>
reduced testcase

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

# Before machine scheduling.
********** INTERVALS **********
%1 EMPTY weight:0.000000e+00
%3 [48r,48d:0)  0@48r L0000000000000000 [48r,48d:0)  0@48r weight:0.000000e+00
%4 [48r,64r:0)[64r,96r:1)  0@48r 1@64r LFFFFFFFFFFFFFFFF [48r,64r:0)[64r,96r:1)
 0@48r 1@64r weight:0.000000e+00
RegMasks: 144r
********** MACHINEINSTRS **********
# Machine code for function j: NoPHIs, TracksLiveness, TiedOpsRewritten

0B      bb.0.bb:
          successors: %bb.1(0x80000000); %bb.1(100.00%)

16B       CGHI undef %1:gr64bit, 7, implicit-def $cc
48B       %4:gr64bit = LGHI 0
64B       %4:gr64bit = LOCGHI %4:gr64bit(tied-def 0), 1, 14, 2, implicit killed
$cc
96B       STGRL %4:gr64bit, @c :: (store 8 into @c)
112B      ADJCALLSTACKDOWN 0, 0
128B      $r2d = LGHI 0
144B      CallBRASL @i, killed $r2d, <regmask $f8d $f9d $f10d $f11d $f12d $f13d
$f14d $f15d $f8q $f9q $f12q $f13q $f8s $f9s $f10s $f11s $f12s $f13s $f14s $f15s
$r6d $r7d $r8d $r9d $r10d $r11d $r12d $r13d $r14d $r15d $r6h $r7h $r8h and 22
more...>, implicit-def dead $r14d, implicit-def dead $cc, implicit $fpc
160B      ADJCALLSTACKUP 0, 0

176B    bb.1.bb3:
        ; predecessors: %bb.0, %bb.1
          successors: %bb.1(0x80000000); %bb.1(100.00%)

192B      J %bb.1

# End machine code for function j.

*** Bad machine code: Subrange lanemask is invalid ***
- function:    j
- interval:    %4 [48r,64r:0)[64r,96r:1)  0@48r 1@64r LFFFFFFFFFFFFFFFF
[48r,64r:0)[64r,96r:1)  0@48r 1@64r weight:0.000000e+00
LLVM ERROR: Found 1 machine code errors.</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>