This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Take 3: RFA: re-instate struct_equiv code


Bernd Schmidt wrote:

Joern RENNECKE wrote:

Bernd Schmidt wrote:

Downsides to this:
- it's harder to understand exactly which inconsistencies are ok
rather than disallowing them


You can't disallow them without doing complete data flow recomputations (not just updates) all the time.


[...]

Note that we don't check for the inconsistencies that remain - i.e. registers that are actually dead but are marked
live - this inexact data flow information will be (or at least should be by design) self-consistent after
update_life_info_in_dirty_blocks.



The way you re-arranged the code, we could still see spurious mismatches.


Code path?

I re-examined the code, and I think I probably was mistaken.
As far as I can tell, your code is a bit slower than necessary in order to be able to perform
extra sanity checks, but it should eventually find all available cross-jump opportunities -
unless some freak optimization ordering issue gets in the way.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]