Re: [RFC] LTO Dead Field Elimination and LTO Field Reordering

2020-08-26 Thread Jakub Jelinek via Gcc
On Thu, Aug 20, 2020 at 07:41:54PM +, Tamar Christina wrote: > While I would agree that it's fundamentally more restrictive than an > object based one I wouldn't say it's useless. At the very least it gives > us something to build on later. It is IMHO useless and has also very undesirable dir

Re: [RFC] LTO Dead Field Elimination and LTO Field Reordering

2020-08-20 Thread Erick Ochoa
Thanks Tamar, as a note: I just pushed the changes that removes GCC's compile time warnings (as in building these transformations will output less warnings.) Fuzzying the code found no random programs out of 50,000 that triggered errors with field reordering and dead field elimination (i.e. -

RE: [RFC] LTO Dead Field Elimination and LTO Field Reordering

2020-08-20 Thread Tamar Christina
Hi Erick, Thanks for updating the branch! From some initial testing it seems to result in some nice gains for mcf but also in lower peak memory usage and smaller binaries even for benchmarks that don't show an improvement in runtime though I haven't looked at these more closely yet. I think y