<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 - [Subreg liveness] Assertion `INext != E && "Must have following segment"' failed"
   href="https://bugs.llvm.org/show_bug.cgi?id=41372">41372</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Subreg liveness]  Assertion `INext != E && "Must have following segment"' failed
          </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, quentin.colombet@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=21726" name="attach_21726" title="reduced testcase">attachment 21726</a> <a href="attachment.cgi?id=21726&action=edit" title="reduced testcase">[details]</a></span>
reduced testcase

llc -mcpu=z13 -O3 -o out.s -misched=ilpmin -systemz-subreg-liveness
tc_musthavefollseg.ll

llc: llvm/llvm-dev/lib/CodeGen/LiveIntervals.cpp:1142: void
llvm::LiveIntervals::HMEditor::handleMoveDown(llvm::LiveRange&)
: Assertion `INext != E && "Must have following segment"' failed.

Stack dump:
0.      Program arguments: llc -mcpu=z13 -O3 -o out.s -misched=ilpmin
-systemz-subreg-liveness tc_musthavefollseg.ll 
2.      Running pass 'Machine Instruction Scheduler' on function '@main'

...
 #9 0x000002aa3522b370
llvm::LiveIntervals::HMEditor::updateRange(llvm::LiveRange&, unsigned int,
llvm::LaneBitmask)
#10 0x000002aa3522bae4
llvm::LiveIntervals::HMEditor::updateAllRanges(llvm::MachineInstr*) 
#11 0x000002aa3522eb50 llvm::LiveIntervals::handleMove(llvm::MachineInstr&,
bool) 
#12 0x000002aa353563d4
llvm::ScheduleDAGMI::moveInstruction(llvm::MachineInstr*,
llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>)
...</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>