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

Reply via email to