[LLVMdev] 32-bit indexes
baldrick at free.fr
Tue Dec 4 07:26:15 PST 2007
> I notice that, even though I'm on 64-bit, many indexes are required by LLVM to
> be 32-bit integers. This won't be too important for the next few years
> except, I think, for the case of indexing large mmapped files which could
> already require more than 32-bits.
> Am I right and is this on the todo list? What are 32-bit integers doing in the
> 64-bit version of LLVM anyway?
array indices can be 32 bit or 64 bit. Struct indices are 32 bit. I doubt that
there will be many structs with more than 2^32 fields in the near future.
More information about the llvm-dev