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


Joern RENNECKE wrote:

Moving cross-jumping out of the main loop in try_optimize_cfg is a knee-jerk
reaction, and likely to loose us optimizations.
It would also remove most of the benefits of the register liveness sanity checks.
So I might as well remove the sanity checks and make the struct_equiv code
assume that any register that is allegedly live might not actually be live.

I have to correct myself: it's still in the main loop in my current code, but it's only run if all the other transformation attempts fail. This means we're not going to have to run it very often, and the time for life updates may be lost in the noise. According to my tests so far, code is near identical before and after. Some files get marginally smaller, others marginally larger.



Bernd



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