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
0001-Emit-lifetime.start-lifetime.end-markers-for-unnamed.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
