Re: [35/77] Add uses of as_a

2017-08-15 Thread Jeff Law
On 07/13/2017 02:51 AM, Richard Sandiford wrote: > This patch adds asserting as_a conversions > to contexts in which the input is known to be a scalar integer mode. > > In expand_divmod, op1 is always a scalar_int_mode if > op1_is_constant (but might not be otherwise). > > In expand_binop, the p

[35/77] Add uses of as_a

2017-07-13 Thread Richard Sandiford
This patch adds asserting as_a conversions to contexts in which the input is known to be a scalar integer mode. In expand_divmod, op1 is always a scalar_int_mode if op1_is_constant (but might not be otherwise). In expand_binop, the patch reverses a < comparison in order to avoid splitting a long