<div dir="ltr"><div><br></div>when I compile some bitcode files with llc, the folowing error is thrown. What does it mean and how can I solve the problem?<br><br>llc: /home/ali/llvm-3.3.src/include/llvm/Support/Casting.h:237: typename enable_if<is_same<Y, typename simplify_type<Y>::SimpleType>, typename cast_retty<X, Y *>::ret_type>::type llvm::cast(Y *) [X = llvm::FrameIndexSDNode, Y = llvm::SDNode]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.<br>
0 llc 0x08d5b7f9 llvm::sys::PrintStackTrace(_IO_FILE*) + 41<br>Stack dump:<br>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 <br>
1. Running pass 'Function Pass Manager' on module './vm/tools/ReyVM/.Debug/ReyVM-runtime.bc'.<br>2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@app_main'<br>make: *** [all] Aborted <br>
</div>