tree-vectorizer.h (struct dr_with_seg_len): Remove class member OFFSET.
authorBin Cheng <bin.cheng@arm.com>
Fri, 17 Jun 2016 09:05:05 +0000 (09:05 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Fri, 17 Jun 2016 09:05:05 +0000 (09:05 +0000)
commit97816be433afedd0a407672b6f2fad23d179447b
tree201086e3720f21a3b75bfb89f8db7b84f7824354
parent7c80a459b96715dfb44708b7cef9f2813a7ff0ef
tree-vectorizer.h (struct dr_with_seg_len): Remove class member OFFSET.

* tree-vectorizer.h (struct dr_with_seg_len): Remove class
member OFFSET.
* tree-vect-data-refs.c (operator ==): Handle DR_OFFSET directly,
rather than OFFSET.
(comp_dr_with_seg_len_pair): Ditto.
(vect_prune_runtime_alias_test_list): Ditto.  Also Canonicalize
struct dr_with_seg_len_pair against DR_OFFSET.
* tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Handle
DR_OFFSET directly.

* gcc.dg/vect/vect-alias-check-1.c: New test.

From-SVN: r237549
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-alias-check-1.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c
gcc/tree-vect-loop-manip.c
gcc/tree-vectorizer.h