[LLVMbugs] [Bug 22304] CodeGen crash with "Queue is empty!" on lshr i256 instruction

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 26 20:48:55 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=22304

Andrew Trick <atrick at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #26 from Andrew Trick <atrick at apple.com> ---
Author: Andrew Trick <atrick at apple.com>
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: https://llvm.org/svn/llvm-project/llvm/trunk@233351
91177308-0d34-0410-b5e6-96231b3b80d8

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150327/18124174/attachment.html>


More information about the llvm-bugs mailing list