aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-11-02 09:38:09 +0100
committerRichard Biener <rguenther@suse.de>2020-11-02 11:03:30 +0100
commit5b41d673ad96dd2f9a7dec3877d0381320ccadb1 (patch)
tree0c1ea5efd59af78cca22b7de87c715927874f7dd /libcpp
parenta159081ad4259c42456bd3dc2b637747c373c5a5 (diff)
downloadgcc-5b41d673ad96dd2f9a7dec3877d0381320ccadb1.zip
gcc-5b41d673ad96dd2f9a7dec3877d0381320ccadb1.tar.gz
gcc-5b41d673ad96dd2f9a7dec3877d0381320ccadb1.tar.bz2
tree-optimization/97558 - avoid SLP analyzing irrelevant stmts
This avoids analyzing reductions that are not relevant (thus dead) which eventually will lead into crashes because the participating stmts meta is not analyzed. For this to work the patch also properly removes reduction groups that are not uniformly recognized as patterns. 2020-11-02 Richard Biener <rguenther@suse.de> PR tree-optimization/97558 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Check for any mismatch in pattern vs. non-pattern and dissolve the group if there is one. * tree-vect-slp.c (vect_analyze_slp_instance): Avoid analyzing not relevant reductions. (vect_analyze_slp): Avoid analyzing not relevant reduction groups. * gcc.dg/vect/pr97558.c: New testcase.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions