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: RFA: Stop df from generating SUBREG REG_NOTES


Richard Sandiford <rsandifo@nildram.co.uk> writes:

> > gcc/
> > 	* df.h (df_mw_hardreg): Remove "loc" field.
> > 	* df-scan.c (df_ref_record): Don't set it.  Remove redundant
> > 	local variable.
> > 	* df-problems.c (df_whole_mw_reg_unused_p): New function,
> > 	split out from df_set_unused_notes_for_mw.  Return false for
> > 	partial references.  Assert that mw_reg is a REG when returning true.
> > 	(df_set_unused_notes_for_mw): Use it.  Use mw_reg instead of *loc.
> > 	(df_whole_mw_reg_dead_p): New function, split out from
> > 	df_set_dead_notes_for_mw.  Return false for partial references.
> > 	Assert that mw_reg is a REG when returning true.
> > 	(df_set_dead_notes_for_mw): Use it.  Use mw_reg instead of *loc.
> > 	Remove redundant bitmap check.

This is OK.

Thanks.

Ian


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