[llvm-bugs] [Bug 31095] During loop-deletion: Assertion `use_empty() && "Uses remain when a value is destroyed!"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 11 01:52:29 PDT 2018


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

bjorn.a.pettersson at ericsson.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
 Fixed By Commit(s)|                            |rL322357

--- Comment #1 from bjorn.a.pettersson at ericsson.com ---
Can't reproduce this any longer.
Problem was solved by rL322357:

Author: Serguei Katkov <serguei.katkov at azul.com>
Date:   Fri Jan 12 07:24:43 2018 +0000

    [LoopDeletion] Handle users in unreachable block

    This is a fix for PR35884.

    When we want to delete dead loop we must clean uses in unreachable blocks
    otherwise we'll get an assert during deletion of instructions from the
loop.

    Reviewers: anna, davide
    Reviewed By: anna
    Subscribers: llvm-commits, lebedev.ri
    Differential Revision: https://reviews.llvm.org/D41943



    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322357
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/20180911/abcc07ef/attachment.html>


More information about the llvm-bugs mailing list