[llvm-bugs] [Bug 32723] New: small .ll program crashes with -pre-RA-sched=list-ilp (llvm-stress)

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 20 10:03:05 PDT 2017


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

            Bug ID: 32723
           Summary: small .ll program crashes with -pre-RA-sched=list-ilp
                    (llvm-stress)
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Target Description Classes
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18321
  --> https://bugs.llvm.org/attachment.cgi?id=18321&action=edit
reduced llvm-stress test case

This small program crashes with list-ilp scheduler.

It seems that

unsigned RCId = TLI->getRepRegClassFor(VT)->getID();

doesn't work, when VT is MVT::Untyped, because getRepRegClassFor(MVT::Untyped)
returns nullptr.

Does Untyped signify an error, or is there supposed to be a regclass for this
type?

bin/llc list-ilp-crash.ll -mtriple=s390x-linux-gnu -mcpu=z13
-pre-RA-sched=list-ilp

-- 
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/20170420/990fb494/attachment.html>


More information about the llvm-bugs mailing list