[LLVMdev] llvm interpreter cannot execute llvm-gcc generated bitcode

Duncan Sands baldrick at free.fr
Fri Jan 29 03:23:15 PST 2010


Hi Kristaps,

> Finally calling it with:
> ----------
> llvm-gcc -c -emit-llvm -O2 a.c
> lli -force-interpreter a.o
> ----------
> 
> Yields us:
> -----------
> "Assertion failed: width > BitWidth && "Invalid APInt ZeroExtend
> request", file c:/proj/llvm/src/lib/Support/APInt.cpp, line 1064"
> -----------
> where both width and BitWidth have value "32".

I can't reproduce this with LLVM from subversion, so presumably it
has been fixed.

Ciao,

Duncan.



More information about the llvm-dev mailing list