This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [23/77] Replace != VOIDmode checks with is_a <scalar_int_mode>
- 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, 14 Aug 2017 13:31:34 -0600
- Subject: Re: [23/77] Replace != VOIDmode checks with is_a <scalar_int_mode>
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.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 38ABE90154
- References: <8760ewohsv.fsf@linaro.org> <87eftkk9kl.fsf@linaro.org>
On 07/13/2017 02:47 AM, Richard Sandiford wrote:
> This patch replaces some checks against VOIDmode with checks
> of is_a <scalar_int_mode>, in cases where scalar integer modes
> were the only useful alternatives left.
>
> gcc/
> 2017-07-13 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> * cfgexpand.c (expand_debug_expr): Use is_a <scalar_int_mode>
> instead of != VOIDmode.
> * combine.c (if_then_else_cond): Likewise.
> (change_zero_ext): Likewise.
> * dwarf2out.c (mem_loc_descriptor): Likewise.
> (loc_descriptor): Likewise.
> * rtlanal.c (canonicalize_condition): Likewise.
> * simplify-rtx.c (simplify_relational_operation_1): Likewise.
OK.
jeff