[PATCH] Emit lifetime.start / lifetime.end markers for unnamed temporary objects
Arnaud A. de Grandmaison
arnaud.degrandmaison at arm.com
Thu Jul 17 14:14:34 PDT 2014
This will improve stack slot reuse in the LLVM optimizers, especially with
C++ where it is so easy to have lots of those unnamed temporaries, with
small live ranges.
The lifetime markers are only inserted if the temporaries are big enough,
using the same value than for named objects (32 bytes). In a second step, I
plan to play with this value to see where we stand with respect to
performances & compile time.
Could someone familiar with CodeGen have a look at this patch ?
Cheers,
--
Arnaud A. de Grandmaison
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140717/2eea0794/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Emit-lifetime.start-lifetime.end-markers-for-unnamed.patch
Type: application/octet-stream
Size: 10767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140717/2eea0794/attachment.obj>
More information about the cfe-commits
mailing list