re PR tree-optimization/56878 (Issue with candidate choice in vect_gen_niters_for_pro...
commit4ba5ea117ac17ad00bb26b2cb64588ae345a6491
authorRichard Biener <rguenther@suse.de>
Thu, 11 Apr 2013 11:21:18 +0000 (11 11:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 11 Apr 2013 11:21:18 +0000 (11 11:21 +0000)
tree7131ce4ad93149ef59b657a80ec5ada7b65d7fb4
parent983a3d80db525e9d7fbba6f222d3030bfc0a68ac
re PR tree-optimization/56878 (Issue with candidate choice in vect_gen_niters_for_prolog_loop.)

2013-04-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56878
* tree-flow.h (outermost_invariant_loop_for_expr): Declare.
* tree-ssa-loop-ivopts.c (outermost_invariant_loop_for_expr):
New function.
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
Prefer to align the DR with the most invariant base address.

From-SVN: r197769
gcc/ChangeLog
gcc/tree-flow.h
gcc/tree-ssa-loop-ivopts.c
gcc/tree-vect-data-refs.c