On 07/13/2017 02:56 AM, Richard Sandiford wrote: > When subregs contain promoted values, as indicated by > SUBREG_PROMOTED_VAR_P, both the unpromoted (outer) and > promoted (inner) values are known to be scalar integers. > This patch adds helper routines that get the modes as > scalar_int_modes. > > 2017-07-13 Richard Sandiford <richard.sandif...@linaro.org> > Alan Hayward <alan.hayw...@arm.com> > David Sherwood <david.sherw...@arm.com> > > gcc/ > * rtl.h (subreg_unpromoted_mode, subreg_promoted_mode): New functions. > * expr.c (convert_move): Use them. > (convert_modes): Likewise. > (store_expr_with_bounds): Likewise. OK jeff
- [46/77] Make widest_int_mode_for_size return a scalar_in... Richard Sandiford
- [47/77] Make subroutines of nonzero_bits operate on scal... Richard Sandiford
- [48/77] Make subroutines of num_sign_bit_copies operate ... Richard Sandiford
- [49/77] Simplify nonzero/num_sign_bits hooks Richard Sandiford
- [50/77] Add helper routines for SUBREG_PROMOTED_VAR_P su... Richard Sandiford
- Re: [50/77] Add helper routines for SUBREG_PROMOTED... Jeff Law
- [51/77] Use opt_scalar_int_mode when iterating over inte... Richard Sandiford
- [52/77] Use scalar_int_mode in extract/store_bit_field Richard Sandiford
- [53/77] Pass a mode to const_scalar_mask_from_tree Richard Sandiford
- [54/77] Add explicit int checks for alternative optab im... Richard Sandiford
- [55/77] Use scalar_int_mode in simplify_const_unary_oper... Richard Sandiford