Hi,

I've been working on several implementations of data layout optimizations for GCC, and I am again kindly requesting for a review of the type escape based dead field elimination and field reorg.

This patchset is organized in the following way:

* Adds a link-time warning if dead fields are detected
* Allows for the dead-field elimination transformation to be applied
* Reorganizes fields in structures.
* Adds some documentation
* Gracefully does not apply transformation if unknown syntax is detected.
* Adds a heuristic to handle void* casts

I have tested this transformations as extensively as I can. The way to trigger these transformations are:

-fipa-field-reorder and -fipa-type-escape-analysis

Having said that, I welcome all criticisms and will try to address those criticisms which I can. Please let me know if you have any questions or comments, I will try to answer in a timely manner.

There has been some initial discussion on the GCC mailing list but I'm submitting the patches to the patches mailing list now. Some of the initial criticisms mentioned on the GCC mailing list previously will be addressed in the following days, and I believe there is definitely enough time to address them all during Stage 1.

I had to add one last commit to account to some differences in the build script on master. I will be working today to squash it, but I still wanted to submit these patches in order to start the review process.

I have bootstrapped on aarch64-linux

Reply via email to