[LLVMdev] llc error
Ali Sedaghat
ali.sedaghatbaf at gmail.com
Thu Jan 23 22:26:44 PST 2014
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<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.
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
1. Running pass 'Function Pass Manager' on module
'./vm/tools/ReyVM/.Debug/ReyVM-runtime.bc'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@app_main'
make: *** [all] Aborted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140124/285edb24/attachment.html>
More information about the llvm-dev
mailing list