<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:atrick@apple.com" title="Andrew Trick <atrick@apple.com>"> <span class="fn">Andrew Trick</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - CodeGen crash with "Queue is empty!" on lshr i256 instruction"
   href="https://llvm.org/bugs/show_bug.cgi?id=22304">bug 22304</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>ASSIGNED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - CodeGen crash with "Queue is empty!" on lshr i256 instruction"
   href="https://llvm.org/bugs/show_bug.cgi?id=22304#c26">Comment # 26</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - CodeGen crash with "Queue is empty!" on lshr i256 instruction"
   href="https://llvm.org/bugs/show_bug.cgi?id=22304">bug 22304</a>
              from <span class="vcard"><a class="email" href="mailto:atrick@apple.com" title="Andrew Trick <atrick@apple.com>"> <span class="fn">Andrew Trick</span></a>
</span></b>
        <pre>Author: Andrew Trick <<a href="mailto:atrick@apple.com">atrick@apple.com</a>>
Date:   Thu Mar 26 20:44:13 2015

    Fix a bug in SelectionDAG scheduling backtracking code: PR22304.

    It can happen (by line CurSU->isPending = true; // This SU is not in
    AvailableQueue right now.) that a SUnit is mark as available but is
    not in the AvailableQueue. For SUnit being selected for scheduling
    both conditions must be met.

    This patch mainly defensively protects from invalid removing a node
    from a queue. Sometimes nodes are marked isAvailable but are not in
    the queue because they have been defered due to some hazard.

    Patch by Pawel Bylica!

    git-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@233351">https://llvm.org/svn/llvm-project/llvm/trunk@233351</a>
91177308-0d34-0410-b5e6-96231b3b80d8</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>