This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [53/77] Pass a mode to const_scalar_mask_from_tree
- 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: Wed, 23 Aug 2017 22:29:35 -0600
- Subject: Re: [53/77] Pass a mode to const_scalar_mask_from_tree
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx03.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 5B55B83F40
- References: <8760ewohsv.fsf@linaro.org> <87shi0emto.fsf@linaro.org>
On 07/13/2017 02:57 AM, Richard Sandiford wrote:
> The caller of const_scalar_mask_from_tree has proven that
> the mode is a MODE_INT, so this patch passes it down as a
> scalar_int_mode. It also expands the comment a little.
>
> 2017-07-13 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * expr.c (const_scalar_mask_from_tree): Add a mode argument.
> Expand commentary.
> (expand_expr_real_1): Update call accordingly.
OK.
jeff