Qt-compiling series is continuing... Attached bytecode forces llc to crash with assertion: ./llc bugpoint-reduced-simplified.bc llc: /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::ConstantSDNode, Y = llvm::SDOperand]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed. ./llc((anonymous namespace)::PrintStackTrace()+0x1f)[0x85a8cef] /lib/libc.so.6(abort+0xeb)[0xb7d6d133] /lib/libc.so.6(__assert_fail+0xeb)[0xb7d654f3] ./llc(llvm::ScheduleDAG::EmitNode(llvm::SDNode*, std::map<llvm::SDNode*, unsigned int, std::less<llvm::SDNode*>, std::allocator<std::pair<llvm::SDNode* const, unsigned int> > >&)+0x1079)[0x840dcd9]
Created attachment 516 [details] Failed bytecode
This looks like an inline asm bug.
Fixed. This was a subtle nasty bug with a simple fix. Patch here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061211/041497.html Testcase here: CodeGen/Generic/2006-12-16-InlineAsmCrash.ll Thanks! -Chris