diff options
author | Richard Biener <rguenther@suse.de> | 2015-04-28 08:30:44 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-04-28 08:30:44 +0000 |
commit | 90dd6e3df86c81bdc1380513c57cce64caf32f72 (patch) | |
tree | bdcf186857724357c1663bf3fe7816d98815ea78 /gcc/function.c | |
parent | fde9b31b61aa281b502e4f49200e3090aa8a4dd1 (diff) | |
download | gcc-90dd6e3df86c81bdc1380513c57cce64caf32f72.zip gcc-90dd6e3df86c81bdc1380513c57cce64caf32f72.tar.gz gcc-90dd6e3df86c81bdc1380513c57cce64caf32f72.tar.bz2 |
re PR fortran/62283 (basic-block vectorization fails)
2015-04-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/62283
* tree-vect-slp.c (vect_build_slp_tree): When the SLP build
fails fatally and we are vectorizing a basic-block simply
cause the child to be constructed piecewise.
(vect_analyze_slp_cost_1): Adjust.
(vect_detect_hybrid_slp_stmts): Likewise.
(vect_bb_slp_scalar_cost): Likewise.
(vect_get_constant_vectors): For piecewise constructed
constants place them after the last def.
(vect_get_slp_defs): Adjust.
* tree-vect-stmts.c (vect_is_simple_use): Detect in-BB
externals for basic-block vectorization.
* gfortran.dg/vect/pr62283-2.f: New testcase.
* gcc.dg/vect/bb-slp-14.c: Adjust.
From-SVN: r222514
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions