This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Make more use of df_read_modify_subreg_p
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Wed, 23 Aug 2017 10:51:20 -0500
- Subject: Re: Make more use of df_read_modify_subreg_p
- Authentication-results: sourceware.org; auth=none
- References: <87a82qv9sw.fsf@linaro.org>
On Wed, Aug 23, 2017 at 11:49:03AM +0100, Richard Sandiford wrote:
> This patch uses df_read_modify_subreg_p to check whether writing
> to a subreg would preserve some of the existing contents.
combine does not keep the DF info up-to-date -- but that is no
problem here, df_read_modify_subreg_p uses no DF info at all. Maybe
it should not have "df_" in the name?
Segher