[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


           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]
./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