search for: 1c8aecdc

Displaying 3 results from an estimated 3 matches for "1c8aecdc".

2007 Feb 17
0
[LLVMdev] Unused malloc/free don't get optimized
On Fri, 16 Feb 2007, Nick Lewycky wrote: > 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. nope, there isn't one. > Why isn't there one? Because it wouldn't be profitable? Or because
2007 Feb 17
2
[LLVMdev] Unused malloc/free don't get optimized
...robably easily modify it to make it simpler and more conservative. 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/20070216/1c8aecdc/attachment.html>
2007 Feb 17
2
[LLVMdev] Unused malloc/free don't get optimized
Reid Spencer wrote: > On Wed, 2007-02-14 at 18:54 +0100, Nicola Lugato wrote: > >>I've made some other test and it looks like it don't remove even >>simple malloc/free couple. Maybe there's something wrong in the way i >>use the opt command. > > No, there's not. LLVM doesn't provide the transform you want. As Chris > mentioned, if you open a