[llvm-bugs] [Bug 28753] New: SystemZ backend: failing assert in ScheduleDAGRRList

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 28 08:58:53 PDT 2016


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: unassignedbugs at nondot.org
          Reporter: colpell at ca.ibm.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160728/64157fc9/attachment.html>


More information about the llvm-bugs mailing list