This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Experimental post-reload life analysis
On Thu, Oct 08, 1998 at 01:36:55PM +0200, Bernd Schmidt wrote:
> >From a code duplication standpoint you are probably right. However, flow.c
> does a lot more stuff than we need, and I don't want to go cluttering it up
> with "if (! reload_completed)".
Certainly not. However, if life_analysis was broken up to try to do
less all at once, and all in the same function, that might help. And
it would help other passes as well.
> Also, the patch I sent is a quite a bit more efficient: instead of calling
> a function like propagate_block which has to walk a whole list of insns,
> it implements the propagation of life info through the function with some
> simple operations on HARD_REG_SETs.
Indeed, I'd like to see flow do the same thing with regsets.
r~