[LLVMbugs] [Bug 1065] NEW: Crash in InstCombine

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Dec 23 10:18:07 PST 2006


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

           Summary: Crash in InstCombine
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru


This is the reduction from libmng & Qt.

Everythign was ok some weeks ago. I've tried to rebuild Qt after SETCC-removal
patch landed.

Steps to reproduce:

~/proj/llvm/build/Release/bin $ ./opt bugpoint-reduced-simplified.bc -instcombine -f
opt: /home/asl/proj/llvm/src/include/llvm/Support/Casting.h:199: typename
llvm::cast_retty<To, From>::ret_type llvm::cast(const Y&) [with X =
llvm::ShiftInst, Y = llvm::Instruction*]: Assertion `isa<X>(Val) && "cast<Ty>()
argument of incompatible type!"' failed.
./opt((anonymous namespace)::PrintStackTrace()+0x1f)[0x836a96f]
/lib/libc.so.6(abort+0xeb)[0xb7d96133]
/lib/libc.so.6(__assert_fail+0xeb)[0xb7d8e4f3]
./opt((anonymous namespace)::InstCombiner::FoldSelectOpOp(llvm::SelectInst&,
llvm::Instruction*, llvm::Instruction*)+0x963)[0x81843a3]

Bytecode attached.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list