On 07/13/2017 02:53 AM, Richard Sandiford wrote: > force_to_mode exits partway through for modes that aren't scalar > integers. This patch splits the remainder of the function out > into a subroutine, force_int_to_mode, so that the modes from that > point on can have type scalar_int_mode. > > The patch also makes sure that xmode is kept up-to-date with x > and uses xmode instead of GET_MODE (x) throughout. > > 2017-07-13 Richard Sandiford <richard.sandif...@linaro.org> > Alan Hayward <alan.hayw...@arm.com> > David Sherwood <david.sherw...@arm.com> > > gcc/ > * combine.c (force_int_to_mode): New function, split out from... > (force_to_mode): ...here. Keep xmode up-to-date and use it > instead of GET_MODE (x). > OK. jeff
- [37/77] Use scalar_int_mode when emitting cstores Richard Sandiford
- [38/77] Move SCALAR_INT_MODE_P out of strict_volatile_bi... Richard Sandiford
- [39/77] Two changes to the get_best_mode interface Richard Sandiford
- [40/77] Use scalar_int_mode for extraction_insn fields Richard Sandiford
- [41/77] Split scalar integer handling out of force_to_mo... Richard Sandiford
- Re: [41/77] Split scalar integer handling out of fo... Jeff Law
- [42/77] Use scalar_int_mode in simplify_shift_const_1 Richard Sandiford
- [44/77] Make simplify_and_const_int take a scalar_int_mo... Richard Sandiford
- [43/77] Use scalar_int_mode in simplify_comparison Richard Sandiford
- [45/77] Make extract_left_shift take a scalar_int_mode Richard Sandiford
- [46/77] Make widest_int_mode_for_size return a scalar_in... Richard Sandiford