[LLVMdev] Byte code portability (was Re: libstdc++ as bytecode, and compiling C++ to C)
Philipp Klaus Krause
pkk at spth.de
Fri Nov 24 11:09:42 PST 2006
Reid Spencer schrieb:
> Note that C and LLVM types are *not* the same things (despite the
> similar names). We are in the process of making this abundantly clear.
> The LLVM IR will soon use names like i8, i16, i32, and i64 (signless
> integer quantities of specific sizes, regardless of platform).
I had explicitly specified the size in the input code using a uint32_t
type, the resulting C code used short, which is smaller on my target
platform.
Philipp
More information about the llvm-dev
mailing list