2013-11-07 Cong Hou <congh@google.com>
commit8a7b0f48b2599df0bed20d9488b7106561310c1b
authorcongh <congh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Nov 2013 19:29:45 +0000 (7 19:29 +0000)
committercongh <congh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Nov 2013 19:29:45 +0000 (7 19:29 +0000)
treece9a066296eee210133c1bff32f548ab6ed8aa4a
parentec513397c38a49f9167751fe63ced6b0f1cd90ff
2013-11-07  Cong Hou  <congh@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.

2013-11-07  Cong Hou  <congh@google.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204538 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-alias-check.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c
gcc/tree-vect-loop-manip.c
gcc/tree-vectorizer.h