[LLVMdev] malloc() vs. MallocInst

Vikram S. Adve vadve at uiuc.edu
Mon Oct 29 07:07:38 PDT 2007


Torvald,

For what are you interested in poolalloc?  I'm asking because we are  
trying to decide how to prioritize work on it.  Thanks,

--Vikram
http://www.cs.uiuc.edu/~vadve
http://llvm.org


On Oct 27, 2007, at 11:10 AM, Torvald Riegel wrote:

> Hi,
>
> I recently looked quite some time for why poolalloc wouldn't  
> transform calls
> to malloc() in my program, until I noticed that it handles calls to  
> malloc()
> (eg, stdlib pass) -- but only transforms MallocInst's.
>
> Is there a general policy on how passes should behave? Should they  
> handle both
> representations, is doing -raiseallocs the preferred way, or do we
> explicitely not want any single policy (ie, are there any hidden  
> problems)?
> Perhaps this could also get a FAQ entry or sth. like that.
>
> Torvald
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list