diff options
author | Richard Biener <rguenther@suse.de> | 2020-11-03 09:53:11 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-11-03 09:56:40 +0100 |
commit | f53e9d40de7212413b361758d66aafb833173dd9 (patch) | |
tree | 344ff015118255a0f995d91c1b975dba80207786 /gcc/ipa-inline-transform.c | |
parent | 0caf400a865cb771f76bf1025cfc2a83e8ef00ed (diff) | |
download | gcc-f53e9d40de7212413b361758d66aafb833173dd9.zip gcc-f53e9d40de7212413b361758d66aafb833173dd9.tar.gz gcc-f53e9d40de7212413b361758d66aafb833173dd9.tar.bz2 |
tree-optimization/97678 - fix SLP induction epilogue vectorization
This restores not tracking SLP nodes for induction initial values
in not nested context because this interferes with peeling and
epilogue vectorization.
2020-11-03 Richard Biener <rguenther@suse.de>
PR tree-optimization/97678
* tree-vect-slp.c (vect_build_slp_tree_2): Do not track
the initial values of inductions when not nested.
* tree-vect-loop.c (vectorizable_induction): Look at
PHI node initial values again for SLP and not nested
inductions. Handle LOOP_VINFO_MASK_SKIP_NITERS and cost
invariants.
* gcc.dg/vect/pr97678.c: New testcase.
Diffstat (limited to 'gcc/ipa-inline-transform.c')
0 files changed, 0 insertions, 0 deletions