fix loop unrolling

Jan Hubicka jh@suse.cz
Tue Jan 22 03:35:00 GMT 2002


> On Mon, Jan 21, 2002 at 05:57:59PM +0100, Jan Hubicka wrote:
> > 	* unroll.c (unroll_loop): Lower final_value to generic-operand.
> 
> Actually, I wonder if this should be lowered to nonmemory_operand.
> Note the one copy_rtx(final_value) later on in the function which
> is not propagated everywhere.

I think it should not use memory, as it consists of loop invariants
and memories has been elliminated there earlier.
It consists of addition of two thinks fetched directly from insn chain,
so they should be nonmemory_operand already.

Would be that ok with adding copy_rtx everywhere?

Honza
> 
> 
> r~



More information about the Gcc-patches mailing list