diff options
author | Richard Biener <rguenther@suse.de> | 2017-07-03 13:44:13 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-07-03 13:44:13 +0000 |
commit | 6b5e165bd8236e1bcd4e7bc3a6fdc0f63ed9410a (patch) | |
tree | 0f6bd84c32cd696d16c9597b34acd016ebf22683 /gcc/predict.c | |
parent | 9607b014b29416b51200e8b7167bf47354d4b4f9 (diff) | |
download | gcc-6b5e165bd8236e1bcd4e7bc3a6fdc0f63ed9410a.zip gcc-6b5e165bd8236e1bcd4e7bc3a6fdc0f63ed9410a.tar.gz gcc-6b5e165bd8236e1bcd4e7bc3a6fdc0f63ed9410a.tar.bz2 |
re PR tree-optimization/60510 (SLP blocks loop vectorization (with reduction))
2017-07-03 Richard Biener <rguenther@suse.de>
PR tree-optimization/60510
* tree-vect-loop.c (vect_create_epilog_for_reduction): Pass in
the scalar reduction PHI and use it.
(vectorizable_reduction): Properly guard the single_defuse_cycle
path for non-SLP reduction chains where we cannot use it.
Rework reduc_def/index and vector type deduction. Rework
vector operand gathering during reduction op code-gen.
* tree-vect-slp.c (vect_analyze_slp): For failed SLP reduction
chains dissolve the chain and leave it to non-SLP reduction
handling.
* gfortran.dg/vect/pr60510.f: New testcase.
From-SVN: r249919
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions