[llvm-bugs] [Bug 31015] New: Assertion failure in greedy register allocator: LiveRangeEdit.cpp:248:

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 14 13:40:26 PST 2016


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

            Bug ID: 31015
           Summary: Assertion failure in greedy register allocator:
                    LiveRangeEdit.cpp:248:
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Register Allocator
          Assignee: unassignedbugs at nondot.org
          Reporter: tstellar at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17588
  --> https://llvm.org/bugs/attachment.cgi?id=17588&action=edit
Reduced Tetst Case

LiveRangeEdit.cpp:248: void
llvm::LiveRangeEdit::eliminateDeadDef(llvm::MachineInstr*,
llvm::LiveRangeEdit::ToShrinkSet&, llvm::AliasAnalysis*): Assertion
`MI->allDefsAreDead() && "Def isn't really dead"' failed.


This was observed with r286832 and the attached test case.  To reproduce:

./llc -O3 -mtriple=amdgcn--amdhsa-opencl -mcpu=fiji  -o - reg-alloc-crash.ll

-- 
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/20161114/a1c54e86/attachment.html>


More information about the llvm-bugs mailing list