On Wed, Oct 24, 2018 at 3:03 AM Richard Biener <rguent...@suse.de> wrote: > > > The following fixes data ref analysis giving up forming group accesses > when it encounters duplicates. This most happens during BB vectorization > when inside a single BB two store groups are separated by a stmt that > prevents DSE (or CSE for loads) of duplicates. This is what we for > example see in PR87105 though there are more issues in that PR. > > I've not found a PR that mentions this specific limitation or > would be fixed with the bug - if you know one please let me know. > > Bootstrap and regtest running on x86_64-unknown-linux-gnu. > > Richard. > > From b6b2cd3399872818befcc95fdd0bc0a12f0bff25 Mon Sep 17 00:00:00 2001 > From: Richard Guenther <rguent...@suse.de> > Date: Wed, 24 Oct 2018 11:51:16 +0200 > Subject: [PATCH] bb-slp-dups > > 2018-10-24 Richard Biener <rguent...@suse.de> > > * tree-vect-data-refs.c (vect_analyze_group_access_1): Adjust > dump classification. > (vect_analyze_data_ref_accesses): Handle duplicate loads and > stores by splitting the affected group after the fact. > * tree-vect-slp.c (vect_build_slp_tree_2): Dump when we > fail the SLP build because of size constraints. >
This caused: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87800 -- H.J.