Re: [1/4] Restructure vect_analyze_loop

2019-11-06 Thread Richard Biener
On Mon, Nov 4, 2019 at 4:26 PM Richard Sandiford wrote: > > Once vect_analyze_loop has found a valid loop_vec_info X, we carry > on searching for alternatives if (1) X doesn't satisfy simdlen or > (2) we want to vectorise the epilogue of X. I have a patch that > optionally adds a third reason: we

[1/4] Restructure vect_analyze_loop

2019-11-04 Thread Richard Sandiford
Once vect_analyze_loop has found a valid loop_vec_info X, we carry on searching for alternatives if (1) X doesn't satisfy simdlen or (2) we want to vectorise the epilogue of X. I have a patch that optionally adds a third reason: we want to see if there are cheaper alternatives to X. This patch re