This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Drop df_ from df_read_modify_subreg_p
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Thu, 24 Aug 2017 15:01:28 -0600
- Subject: Re: Drop df_ from df_read_modify_subreg_p
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=law at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 84AE4267E0
- References: <87378ghln3.fsf@linaro.org>
On 08/24/2017 12:21 PM, Richard Sandiford wrote:
> ...it's really a general RTL predicate, rather than something that depends
> on the DF state. Thanks to Segher for the suggestion.
>
> Tested on aarch64-linux-gnu and x86_64-linux-gnu. OK to install?
>
> Richard
>
>
> 2017-08-24 Richard Sandiford <richard.sandiford@linaro.org>
>
> gcc/
> * df.h (df_read_modify_subreg_p): Remove in favor of...
> * rtl.h (read_modify_subreg_p): ...this new function. Take a
> const_rtx instead of an rtx.
> * cprop.c (local_cprop_find_used_regs): Update accordingly.
> * df-problems.c (df_word_lr_mark_ref): Likewise.
> * ira-lives.c (mark_pseudo_reg_live): Likewise.
> (mark_pseudo_reg_dead): Likewise.
> (mark_ref_dead): Likewise.
> * reginfo.c (init_subregs_of_mode): Likewise.
> * sched-deps.c (sched_analyze_1): Likewise.
> * df-scan.c (df_def_record_1): Likewise.
> (df_uses_record): Likewise.
> (df_read_modify_subreg_p): Remove in favor of...
> * rtlanal.c (read_modify_subreg_p): ...this new function. Take a
> const_rtx instead of an rtx.
OK.
jeff