re PR tree-optimization/36228 (redundant runtime check while vectorizing)
authorSebastian Pop <sebastian.pop@amd.com>
Fri, 16 May 2008 16:02:02 +0000 (16:02 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Fri, 16 May 2008 16:02:02 +0000 (16:02 +0000)
commitb3924be9712d2b49b59048aff6ba5d288227c40c
tree3a23f8dccec8694c7100a8d3bb896105dd71f2a5
parent5b7971f01cf2b0709995c7249e6c21a38acc5f7b
re PR tree-optimization/36228 (redundant runtime check while vectorizing)

2008-05-16  Sebastian Pop  <sebastian.pop@amd.com>
    Jan Sjodin  <jan.sjodin@amd.com>

PR tree-optimization/36228
* tree-data-ref.c (initialize_data_dependence_relation): Fast dependence
test when the references are the same, call compute_self_dependence.
* tree-data-ref.h (struct data_dependence_relation): Add self_reference_p.
(DDR_SELF_REFERENCE): New.

* testsuite/gcc.dg/vect/pr36228.c: New.

Co-Authored-By: Jan Sjodin <jan.sjodin@amd.com>
From-SVN: r135426
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr36228.c [new file with mode: 0644]
gcc/tree-data-ref.c
gcc/tree-data-ref.h