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

            Bug ID: 28753
           Summary: SystemZ backend: failing assert in ScheduleDAGRRList
           Product: new-bugs
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: colp...@ca.ibm.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Created attachment 16831
  --> https://llvm.org/bugs/attachment.cgi?id=16831&action=edit
C source

To reproduce, compile bug.c with
clang -O1 -target s390x-linux-gnu -c bug.c

Compilation aborts during "DAG->DAG Pattern Instruction Selection" with this
failed assert:

llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp:1197: llvm::MVT
getPhysicalRegisterVT(llvm::SDNode*, unsigned int, const
llvm::TargetInstrInfo*): Assertion `MCID.ImplicitDefs && "Physical reg def must
be in implicit def list!"' failed.

Compiling at -O0 does not reproduce the failure. Changing "shift" in bug.c to a
value lower than 64 also causes compilation to pass.

LLVM/Clang is from SVN trunk 276984.

-- 
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