Prevent reload from copying many instructions

Ian Lance Taylor iant@google.com
Wed Aug 16 15:20:00 GMT 2006


Jan Hubicka <jh@suse.cz> writes:

> 	* reload1.c (forget_marked_reloads): New function.
> 	(forget_old_reloads_1): When data are passed, just mark the registers
> 	for later removal.
> 	(reload_as_needed): Use the new mechanizm.
> -	  rtx oldpat = copy_rtx (PATTERN (insn));
> -
> +	  regset_head regs_to_forget;
> +	  INIT_REG_SET (&regs_to_forget);
> +	  note_stores (PATTERN (insn), forget_old_reloads_1, &regs_to_forget);
>  	  /* If this is a USE and CLOBBER of a MEM, ensure that any
>  	     references to eliminable registers have been removed.  */
>  

Please add a blank line before the comment.

OK with that change.

Thanks.

:REVIEWMAIL:

Ian



More information about the Gcc-patches mailing list