aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-niter.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-01-27 15:20:58 +0100
committerRichard Biener <rguenther@suse.de>2021-01-27 17:33:34 +0100
commitc91db798ec65b3e55f2380ca1530ecb71544f1bb (patch)
tree04dda92d83caa69419cbc1b51205de5550c0f7b0 /gcc/tree-ssa-loop-niter.c
parent3fd10728cb1aacf593a7a006ad40e874f791d655 (diff)
downloadgcc-c91db798ec65b3e55f2380ca1530ecb71544f1bb.zip
gcc-c91db798ec65b3e55f2380ca1530ecb71544f1bb.tar.gz
gcc-c91db798ec65b3e55f2380ca1530ecb71544f1bb.tar.bz2
tree-optimization/98854 - avoid some PHI BB vectorization
This avoids cases of PHI node vectorization that just causes us to insert vector CTORs inside loops for values only required outside of the loop. 2021-01-27 Richard Biener <rguenther@suse.de> PR tree-optimization/98854 * tree-vect-slp.c (vect_build_slp_tree_2): Also build PHIs from scalars when the number of CTORs matches the number of children. * gcc.dg/vect/bb-slp-pr98854.c: New testcase.
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
0 files changed, 0 insertions, 0 deletions