[LLVMdev] Documentation of malloc/free

Jon Harrop jon at ffconsultancy.com
Mon Dec 7 11:24:27 PST 2009

On Monday 07 December 2009 17:55:44 Chris Lattner wrote:
> On Dec 7, 2009, at 9:49 AM, Garrison Venn wrote:
> > So I gather this means that malloc was removed from the IR because
> > there are platforms that don't have non-stack allocation semantics?
> No, it was removed because it wasn't necessary, and the malloc
> 'instruction' didn't support 64-bit targets.

BTW, what is the state of having to index into structs using i32 and not i64 
even on a 64-bit platform? Is that due to be changed as well or is there some 
reason for requiring an i32?

Dr Jon Harrop, Flying Frog Consultancy Ltd.

More information about the llvm-dev mailing list