tree-vect-data-refs.c (Operator==, [...]): Move from ...
authorBin Cheng <bin.cheng@arm.com>
Fri, 26 May 2017 14:10:43 +0000 (14:10 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Fri, 26 May 2017 14:10:43 +0000 (14:10 +0000)
commit8d44cf7275527abc86f33e6d6c51fc84fa9c877a
tree3273bf86a29a78426128ba067fc0e6b94ef45da3
parent2c8f03adb27b15e9e4665dfe24b04f5516ec2ea4
tree-vect-data-refs.c (Operator==, [...]): Move from ...

* 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.

From-SVN: r248511
gcc/ChangeLog
gcc/tree-data-ref.c
gcc/tree-data-ref.h
gcc/tree-vect-data-refs.c
gcc/tree-vectorizer.h