[LLVMdev] Arbitrary bit width integers

Chris Lattner sabre at nondot.org
Mon Jun 18 13:51:03 PDT 2007


On Mon, 18 Jun 2007, Sandro Magi wrote:
> Generated code. So the memory used for the integer at program runtime
> is inlined into the allocation point then? So if I define a local
> variable of type 'i1024', it will allocate a block of 1024 bits on the
> stack, if I define a struct with an i1024, it will be in the struct
> itself, etc.

Yes, exactly.

> Is there anyone working on complete support for this in the code generators?

Nope, not that I know of.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list