This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [20/nn] Make tree-ssa-dse.c:normalize_ref return a bool
- 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: Mon, 30 Oct 2017 11:30:42 -0600
- Subject: Re: [20/nn] Make tree-ssa-dse.c:normalize_ref return a bool
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx05.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 DBA45BDE3
- References: <87wp3mxgir.fsf@linaro.org> <87inf6umos.fsf@linaro.org>
On 10/23/2017 05:29 AM, Richard Sandiford wrote:
> This patch moves the check for an overlapping byte to normalize_ref
> from its callers, so that it's easier to convert to poly_ints later.
> It's not really worth it on its own.
>
>
> 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
>
> gcc/
> * tree-ssa-dse.c (normalize_ref): Check whether the ranges overlap
> and return false if not.
> (clear_bytes_written_by, live_bytes_read): Update accordingly.
OK.
jeff