Re: [58/77] Use scalar_int_mode in a try_combine optimisation

2017-08-24 Thread Jeff Law
On 07/13/2017 02:59 AM, Richard Sandiford wrote: > This patch uses scalar_int_modes for: > > /* If I2 is setting a pseudo to a constant and I3 is setting some > sub-part of it to another constant, merge them by making a new > constant. */ > > This was already implicit, but the danger

[58/77] Use scalar_int_mode in a try_combine optimisation

2017-07-13 Thread Richard Sandiford
This patch uses scalar_int_modes for: /* If I2 is setting a pseudo to a constant and I3 is setting some sub-part of it to another constant, merge them by making a new constant. */ This was already implicit, but the danger with checking only CONST_SCALAR_INT_P is that it can include C