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.sandif...@linaro.org> > Alan Hayward <alan.hayw...@arm.com> > David Sherwood <david.sherw...@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
- [19/77] Add a smallest_int_mode_for_size helper function Richard Sandiford
- [20/77] Replace MODE_INT checks with is_int_mode Richard Sandiford
- [21/77] Replace SCALAR_INT_MODE_P checks with is_a <s... Richard Sandiford
- [22/77] Replace !VECTOR_MODE_P with is_a <scalar_int_... Richard Sandiford
- [23/77] Replace != VOIDmode checks with is_a <scalar_... Richard Sandiford
- Re: [23/77] Replace != VOIDmode checks with is_a &l... Jeff Law
- [24/77] Replace a != BLKmode check with is_a <scalar_... Richard Sandiford
- [25/77] Use is_a <scalar_int_mode> for bitmask opt... Richard Sandiford
- [26/77] Use is_a <scalar_int_mode> in subreg/extra... Richard Sandiford
- [27/77] Use is_a <scalar_int_mode> before LOAD_EXT... Richard Sandiford
- [29/77] Make some *_loc_descriptor helpers take scalar_i... Richard Sandiford