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: fix loop unrolling


> 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~


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