re PR tree-optimization/84037 (Speed regression of polyhedron benchmark since r256644)
authorRichard Biener <rguenther@suse.de>
Wed, 7 Feb 2018 15:46:17 +0000 (15:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 7 Feb 2018 15:46:17 +0000 (15:46 +0000)
commitb210f45f527eb017810af815bbb97a8f6939385f
tree26538f6f069f23a2c3756540d4f8743f7e052695
parent43e4df5a0bed4833a4812746e5554ed057b6dfd4
re PR tree-optimization/84037 (Speed regression of polyhedron benchmark since r256644)

2018-02-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/84037
* tree-vectorizer.h (struct _loop_vec_info): Add ivexpr_map member.
(cse_and_gimplify_to_preheader): Declare.
(vect_get_place_in_interleaving_chain): Likewise.
* tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Initialize
ivexpr_map.
(_loop_vec_info::~_loop_vec_info): Delete it.
(cse_and_gimplify_to_preheader): New function.
* tree-vect-slp.c (vect_get_place_in_interleaving_chain): Export.
* tree-vect-stmts.c (vectorizable_store): CSE base and steps.
(vectorizable_load): Likewise.  For grouped stores always base
the IV on the first element.
* tree-vect-loop-manip.c (vect_loop_versioning): Unshare versioning
condition before gimplifying.

From-SVN: r257453
gcc/ChangeLog
gcc/tree-vect-loop-manip.c
gcc/tree-vect-loop.c
gcc/tree-vect-slp.c
gcc/tree-vect-stmts.c
gcc/tree-vectorizer.h