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: unassignedb...@nondot.org
          Reporter: tstel...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to