On Tue, May 23, 2017 at 6:22 PM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > This is the second patch in the set, it factors out code pruning runtime alias > checks from file tree-vect-data-refs.c to tree-data-ref.c. It also introduces > new interface prune_runtime_alias_test_list so that we can use it in pass like > loop distribution. > Bootstrap and test on x86_64 and AArch64, is it OK?
Ok. Richard. > Thanks, > bin > 2017-05-22 Bin Cheng <bin.ch...@arm.com> > > * tree-vect-data-refs.c (Operator==, comp_dr_with_seg_len_pair): > Move from ... > * tree-data-ref.c (Operator==, comp_dr_with_seg_len_pair): To here. > * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Factor > out code pruning runtime alias checks. > * tree-data-ref.c (prune_runtime_alias_test_list): New function > factored out from above. > * tree-vectorizer.h (struct dr_with_seg_len, dr_with_seg_len_pair_t): > Move from ... > * tree-data-ref.h (struct dr_with_seg_len, dr_with_seg_len_pair_t): > ... to here. > (prune_runtime_alias_test_list): New decalaration.