aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-06-24 15:49:00 +0200
committerRichard Biener <rguenther@suse.de>2020-06-24 19:49:16 +0200
commitc78907d514d65483c7ddfb4cb1f5c57f23da73d9 (patch)
tree2936ed9c1ed2cff0e6208f00255916b49aea0377 /gcc/fortran/iresolve.c
parent796190e538c96c28b5803f6d3dab1add87950c0e (diff)
downloadgcc-c78907d514d65483c7ddfb4cb1f5c57f23da73d9.zip
gcc-c78907d514d65483c7ddfb4cb1f5c57f23da73d9.tar.gz
gcc-c78907d514d65483c7ddfb4cb1f5c57f23da73d9.tar.bz2
tree-optimization/95866 - avoid vectorizing uniform SLP subgraphs
This avoids vectorizing SLP subgraphs that just compute uniform operations on all-same operands. That fixes the less interesting (but most embarrasing) part of the testcase in the PR. On the way it also fixed a missing matches[0] reset in the last refactoring touching that place. 2020-06-24 Richard Biener <rguenther@suse.de> PR tree-optimization/95866 * tree-vect-slp.c (vect_slp_tree_uniform_p): New. (vect_build_slp_tree_2): Properly reset matches[0], ignore uniform constants. * gcc.target/i386/pr95866-1.c: New testcase.
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions