This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Take 3: RFA: re-instate struct_equiv code
- From: Bernd Schmidt <bernds_cb1 at t-online dot de>
- To: Joern RENNECKE <joern dot rennecke at st dot com>
- Cc: Daniel Berlin <dberlin at dberlin dot org>, Steven Bosscher <stevenb dot gcc at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 08 Feb 2006 17:23:14 +0100
- Subject: Re: Take 3: RFA: re-instate struct_equiv code
- References: <43EA0A69.6030007@st.com>
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