On Mon, Mar 17, 2014 at 02:44:29PM +0100, Richard Biener wrote: > You mean exactly in the case where the profitability check ensures > that n % vf == 0? Thus effectively if n == maximum trip count? > That's quite a special case, no?
Indeed it is. But I guess that is pretty much the only case where the following optimizers can fold the array accesses in the (unneeded) epilogue loop from some non-constant indexes to constant ones (because, it knows that the vector loop will iterate in that case exactly once). Jakub