[LLVMbugs] [Bug 2318] New: Instruction Combining fails assertion check

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon May 12 13:22:51 PDT 2008


           Summary: Instruction Combining fails assertion check
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: lefever at crhc.uiuc.edu
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1640)
 --> (http://llvm.org/bugs/attachment.cgi?id=1640)
Bugpoint reduced bytecode

The attached bytecode causes an assertion failure in opt when you run:

opt bugpoint-reduced-simplified.bc -instcombine

The assertion failure message is:

opt: /home/local/lefever/llvm/080509/llvm/include/llvm/Support/Casting.h:199:
typename llvm::cast_retty<To, From>::ret_type llvm::cast(const Y&) [with X =
llvm::ConstantInt, Y = llvm::Value*]: Assertion `isa<X>(Val) && "cast<Ty>()
argument of incompatible type!"' failed.

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