Re: [2/4] Check the VF is small enough for an epilogue loop

2019-11-06 Thread Richard Biener
On Mon, Nov 4, 2019 at 4:29 PM Richard Sandiford wrote: > > The number of iterations of an epilogue loop is always smaller than the > VF of the main loop. vect_analyze_loop_costing was taking this into > account when deciding whether the loop is cheap enough to vectorise, > but that has no effect

[2/4] Check the VF is small enough for an epilogue loop

2019-11-04 Thread Richard Sandiford
The number of iterations of an epilogue loop is always smaller than the VF of the main loop. vect_analyze_loop_costing was taking this into account when deciding whether the loop is cheap enough to vectorise, but that has no effect with the unlimited cost model. We need to use a separate check fo