Hi! On Tue, Sep 17, 2019 at 09:45:54AM +0200, Richard Biener wrote: > The following fixes an old vectorizer issue with realignment support > (thus only powerpc is affected) and BB vectorization. The realignment > token is set up from the wrong data-ref which causes an SSA verification > failure but in other circumstances might simply generate wrong code. > > Bootstrap running on x86_64-unknown-linux-gnu, I'll install this > as obvious on trunk. > > PPC folks - you know best how to appropriately test a target > where we use the re-alignment optimization. IIRC on later > powerpc hardware this isn't exercised at all since we can use > unaligned accesses. > > The issue is at least present on the GCC 9 branch as well but I'd > appreciate testing where it exercises the path before considering > a backport.
Is there a testcase? You can use -malign-natural to get stricter alignment requirements, that might help. Cc:ing Bill, this is vectorizer :-) Segher