Re: RFC/A: Early predictive commoning pass

2017-07-18 Thread Richard Biener
On Mon, Jul 3, 2017 at 10:45 AM, Richard Sandiford wrote: > General predictive commoning would play havoc with loop vectorisation, > so the current pass order is clearly the right one. But running a very > limited form of predictive commoning before vectorisation would allow us > to vectorise thi

RFC/A: Early predictive commoning pass

2017-07-03 Thread Richard Sandiford
General predictive commoning would play havoc with loop vectorisation, so the current pass order is clearly the right one. But running a very limited form of predictive commoning before vectorisation would allow us to vectorise things like: for (int i = 1; i < n; ++i) x[i] = x[i - 1]