[LLVMbugs] [Bug 7838] New: UNREACHABLE executed at LegalizeIntegerTypes.cpp:947!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 6 20:26:27 PDT 2010


           Summary: UNREACHABLE executed at LegalizeIntegerTypes.cpp:947!
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=5343)
 --> (http://llvm.org/bugs/attachment.cgi?id=5343)
failure-inducing LLVM code

Ok, this LLVM code comes from our hacked Clang where we're attempting to use
the xxx.with.overflow primitives to create fast overflow checks.  So there may
be something wrong with it.  However, "UNREACHABLE executed" sounds like LLVM
is telling me there's a bug.  So here it is!

This is r110486 on x86.

regehr at john-home:~/volatile/bugs/tmp329$ llc small.s
ExpandIntegerResult #0: 0xacc13b0: i64,i1 = smulo 0xacc0888, 0xacc0800 [ORD=10]

Do not know how to expand the result of this operator!
UNREACHABLE executed at LegalizeIntegerTypes.cpp:947!
0  llc 0x08a32078
Stack dump:
0.      Program arguments: llc small.s 
1.      Running pass 'Function Pass Manager' on module 'small.s'.
2.      Running pass 'X86 DAG->DAG Instruction Selection' on function

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list