On Wed, 29 Nov 2017, David Malcolm wrote:
I was experimenting with optimizing away matching malloc/free pairs,
moving the allocation to either the stack, or to a thread-local
obstack, under certain conditions, or to hoist allocations out of
loops.
I didn't get any significant wins, but much of this was due to my lack
of experience with the middle-end, and being drawn back to front-
end/diagnostic improvements.
Hello,
could you share what you have? Is this something you might work on again
at some point?
I had a go (very limited) at this problem some years ago, and would be
interested in looking at your approach.
--
Marc Glisse