Displaying 3 results from an estimated 3 matches for "9cf515e8".
2007 Feb 22
0
[LLVMdev] Unused malloc/free don't get optimized
Robert L. Bocchino Jr. wrote:
> Hi,
>
>>> That's surprising to me. I thought there was a pass that converts
>>> malloc's that trivially dominate all free's and whose pointer doesn't
>>> escape would be lowered to alloca's -- but I looked and couldn't find
>>> one.
>
> I implemented a pass like this a while back. It's
2007 Feb 17
2
[LLVMdev] Unused malloc/free don't get optimized
Hi,
>> That's surprising to me. I thought there was a pass that converts
>> malloc's that trivially dominate all free's and whose pointer doesn't
>> escape would be lowered to alloca's -- but I looked and couldn't
>> find one.
I implemented a pass like this a while back. It's fairly
sophisticated and relies on DSA to generate a call graph
2007 Feb 22
2
[LLVMdev] Unused malloc/free don't get optimized
...stead of DSA, but I'm not sure what would be involved
in that.
Rob
Robert L. Bocchino Jr.
Ph.D. Student
University of Illinois, Urbana-Champaign
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070222/9cf515e8/attachment.html>