http://llvm.org/bugs/show_bug.cgi?id=2318

           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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to