[LLVMdev] pointer-sized integer type
sabre at nondot.org
Sat Dec 1 17:30:39 PST 2007
On Dec 1, 2007, at 5:26 PM, Benjamin Smedberg wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Anton Korobeynikov wrote:
>>> It seems that LLVM bytecode doesn't have a builtin type for
>> You should use TargetData to provide a size of pointer.
> Sorry, perhaps I was not clear. When JITting code it's not hard to
> out the size of a pointer and use the equivalent integer type. I
> mean, is it
> possible to create architecture-independent LLVM assembly/bytecode
> that has
> an "integer that's the same size as a pointer"?
No, not currently.
More information about the llvm-dev