http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56764
--- Comment #5 from congh at gcc dot gnu.org --- Author: congh Date: Thu Nov 14 21:51:07 2013 New Revision: 204825 URL: http://gcc.gnu.org/viewcvs?rev=204825&root=gcc&view=rev Log: 2013-11-14 Cong Hou <co...@google.com> Backport from mainline 2013-11-14 Cong Hou <co...@google.com> * tree-vectorizer.h (struct dr_with_seg_len): Remove the base address field as it can be obtained from dr. Rename the struct. * tree-vect-data-refs.c (comp_dr_with_seg_len_pair): Consider steps of data references during sort. (vect_prune_runtime_alias_test_list): Adjust with the change to struct dr_with_seg_len. * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Adjust with the change to struct dr_with_seg_len. 2013-11-07 Cong Hou <co...@google.com> PR tree-optimization/56764 * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Combine alias checks if it is possible to amortize the runtime overhead. Return the number of alias checks after merging. * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Use the function vect_create_cond_for_alias_checks () to check the number of alias checks. Modified: branches/google/gcc-4_8/gcc/ChangeLog branches/google/gcc-4_8/gcc/tree-vect-data-refs.c branches/google/gcc-4_8/gcc/tree-vect-loop-manip.c branches/google/gcc-4_8/gcc/tree-vectorizer.h