[llvm-bugs] [Bug 34280] coalescer crash

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 22 14:59:00 PDT 2017


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

Quentin Colombet <qcolombet at apple.com> changed:

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

--- Comment #2 from Quentin Colombet <qcolombet at apple.com> ---
Yep that's it and it is fixed on trunk thanks to:
commit 37ca700397ae9155ded8b73eb4bde374abb040f9
Author: Sameer AbuAsal <sabuasal at codeaurora.org>
Date:   Thu Aug 3 02:41:17 2017 +0000

    [RegisterCoalescer] Add wrapper for Erasing Instructions

    Summary:
          To delete an instruction the coalescer needs to call
eraseFromParent()
          on the MachineInstr, insert it in the ErasedInstrs list and update
the
          Live Ranges structure. This patch re-factors the code to do all that
in
          one function. This will also fix cases where previous code wasn't
          inserting deleted instructions in the ErasedList.

    Reviewers: qcolombet, kparzysz

    Reviewed By: qcolombet

    Subscribers: MatzeB, llvm-commits, qcolombet

    Differential Revision: https://reviews.llvm.org/D36204

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309915

-- 
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/20170822/7219d536/attachment.html>


More information about the llvm-bugs mailing list