aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-03-24 12:55:16 +0100
committerRichard Biener <rguenther@suse.de>2021-03-25 09:07:34 +0100
commita29124d28253cdf603ba1977db2f09c9f233fea5 (patch)
tree4e4f8ee0bf5a8eec84a69179283cd2410cdbc9f1 /gcc/tree-vect-loop.c
parent08103e4d6ada9b57366f2df2a2b745babfab914c (diff)
downloadgcc-a29124d28253cdf603ba1977db2f09c9f233fea5.zip
gcc-a29124d28253cdf603ba1977db2f09c9f233fea5.tar.gz
gcc-a29124d28253cdf603ba1977db2f09c9f233fea5.tar.bz2
tree-optimization/99746 - avoid confusing hybrid code
This avoids confusing the hybrid vectorization code with SLP patterns by not marking SLP pattern covered stmts as patterns (they are marked as SLP patterns already). This means that loop vectorization will vectorize the scalar stmt rather than the SLP pattern stmt (which it can't anyway). 2021-03-24 Richard Biener <rguenther@suse.de> PR tree-optimization/99746 * tree-vect-slp-patterns.c (complex_pattern::build): Do not mark the scalar stmt as patterned. Instead set up required things manually. * gfortran.dg/vect/pr99746.f90: New testcase.
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions