[llvm-bugs] [Bug 34387] Assertion failed: (RegNo < NumRegs && "Attempting to access record for invalid register number!")

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 1 07:35:15 PDT 2017


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

Geoff Berry <gberry at codeaurora.org> changed:

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

--- Comment #12 from Geoff Berry <gberry at codeaurora.org> ---
Thanks, that did the trick.
I've re-committed the original change in r312328 with a fix for this problem. 
The bug was that the current instruction in the optimization loop was being
deleted and replaced by LiveRangeEdit::eliminateDeadDefs() in the middle of the
loop.  The fix was to move the dead instruction elimination to after the loop
instead.

-- 
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/20170901/ebaf0443/attachment.html>


More information about the llvm-bugs mailing list