tree-vect-loop.c (vect_is_simple_reduction_1): Relax the requirement of the reduction...
authorCong Hou <congh@google.com>
Tue, 15 Oct 2013 17:17:43 +0000 (13:17 -0400)
committerCong Hou <congh@gcc.gnu.org>
Tue, 15 Oct 2013 17:17:43 +0000 (13:17 -0400)
commit69b8f2f943c302fcf0623d6b78d367d95d5450fd
treea07346fb868983cc9fc591849d368b7924535e15
parent09560e7f4dadaa207f8bc94a848811ae0bbf948f
tree-vect-loop.c (vect_is_simple_reduction_1): Relax the requirement of the reduction pattern so that one operand of the ...

2013-10-15  Cong Hou  <congh@google.com>

        * tree-vect-loop.c (vect_is_simple_reduction_1): Relax the
        requirement of the reduction pattern so that one operand of the
        reduction operation can come from outside of the loop.

2013-10-15  Cong Hou  <congh@google.com>

        * gcc.dg/vect/vect-reduc-pattern-3.c: New test.

From-SVN: r203625
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-3.c [new file with mode: 0644]
gcc/tree-vect-loop.c