Re: Include phis in SLP unrolling calculation

2017-09-15 Thread Jeff Law
On 09/15/2017 04:48 AM, Richard Sandiford wrote: > Without this we'd pick an unrolling factor based purely on longs, > ignoring the ints. It's posssible that vect_get_smallest_scalar_type > should also handle shifts, but I think we'd still want this as a > belt-and-braces fix. > > Tested on aarch

Include phis in SLP unrolling calculation

2017-09-15 Thread Richard Sandiford
Without this we'd pick an unrolling factor based purely on longs, ignoring the ints. It's posssible that vect_get_smallest_scalar_type should also handle shifts, but I think we'd still want this as a belt-and-braces fix. Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-gnu. OK