[LLVMbugs] [Bug 5016] New: Assertion failed: (castIsValid(getOpcode(), S, Ty) && " Illegal BitCast")

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Sep 20 17:37:32 PDT 2009


           Summary: Assertion failed: (castIsValid(getOpcode(), S, Ty) &&
                    "Illegal BitCast")
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 3696

Created an attachment (id=3536)
 --> (http://llvm.org/bugs/attachment.cgi?id=3536)

Assertion when building kern_sig.c from the FreeBSD kernel.
LLVM r82419.

# opt bugpoint-reduced-simplified.bc -gvn
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.

Assertion failed: (castIsValid(getOpcode(), S, Ty) && "Illegal BitCast"),
function BitCastInst, file Instructions.cpp, line 2605.
Stack dump:
0.      Running pass 'Function Pass Manager' on module
1.      Running pass 'Global Value Numbering' on function '@kern_sigtimedwait'
Abort (core dumped)

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