[llvm-commits] [PATCH] auto-upgrade malloc instructions to malloc calls

Victor Hernandez vhernandez at apple.com
Wed Sep 23 17:03:19 PDT 2009


This patch:
1. Gets malloc instructions to be auto-upgraded to malloc calls in  
LLParser and BitcodeReader.
2. Updates Core and BrainF to no longer create malloc instructions.
3. Updates testcases that made assumptions that were no longer true  
without malloc instructions.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: AutoupgradeMalloc.diff
Type: application/octet-stream
Size: 17608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090923/d26332a1/attachment.obj>
-------------- next part --------------


After this patch, there are no MallocInsts created by LLVM, and  
MallocInst can be torn out.

Victor
  


More information about the llvm-commits mailing list