Re: Add missing alignment checks in epilogue loop vectorisation (PR 86877)

2018-09-20 Thread Richard Biener
On Thu, Sep 20, 2018 at 1:42 PM Richard Sandiford wrote: > > Epilogue loop vectorisation skips vect_enhance_data_refs_alignment > since it doesn't make sense to version or peel the epilogue loop > (that will already have happened for the main loop). But this means > that it also fails to check wh

Add missing alignment checks in epilogue loop vectorisation (PR 86877)

2018-09-20 Thread Richard Sandiford
Epilogue loop vectorisation skips vect_enhance_data_refs_alignment since it doesn't make sense to version or peel the epilogue loop (that will already have happened for the main loop). But this means that it also fails to check whether the accesses are suitably aligned for the new vector subarch.