when I compile some bitcode files with llc, the folowing error is thrown. What does it mean and how can I solve the problem?
llc: /home/ali/llvm-3.3.src/include/llvm/Support/Casting.h:237: typename enable_if<is_same<Y, typename simplify_type::SimpleType>, typename cast_retty<X, Y *>::ret_type>::type llvm::cast(Y ) [X = llvm::FrameIndexSDNode, Y = llvm::SDNode]: Assertion `isa(Val) && “cast() argument of incompatible type!”’ failed.
0 llc 0x08d5b7f9 llvm::sys::PrintStackTrace(_IO_FILE) + 41
Stack dump:
0. Program arguments: llvm-3.3.src/Release+Asserts/bin/llc ./vm/tools/ReyVM/.Debug/ReyVM-runtime.bc -O3 -filetype=asm -disable-cfi -disable-fp-elim -load=/home/ali/vmkit/Release+Asserts/lib/static-gc-printer.so -o ./vm/tools/ReyVM/.Debug/ReyVM-binary.s
- Running pass ‘Function Pass Manager’ on module ‘./vm/tools/ReyVM/.Debug/ReyVM-runtime.bc’.
- Running pass ‘X86 DAG->DAG Instruction Selection’ on function ‘@app_main’
make: *** [all] Aborted