re PR tree-optimization/69848 (poor vectorization of a loop from SPEC2006 464.h264ref)
authorBin Cheng <bin.cheng@arm.com>
Fri, 12 Aug 2016 14:58:20 +0000 (14:58 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Fri, 12 Aug 2016 14:58:20 +0000 (14:58 +0000)
commit8eb414aa6c71225d941e24572d5cdd9ce6feee50
tree76c0c614276dff79f9625c824647a2b0964743e1
parent30b39c1927a4d8d6c37c7fe774b1f09fea3aae51
re PR tree-optimization/69848 (poor vectorization of a loop from SPEC2006 464.h264ref)

PR tree-optimization/69848
* tree-vectorizer.h (enum vect_def_type): New condition reduction
type CONST_COND_REDUCTION.
* tree-vect-loop.c (vectorizable_reduction): Support new condition
reudction type CONST_COND_REDUCTION.

gcc/testsuite
PR tree-optimization/69848
* gcc.dg/vect/vect-pr69848.c: New test.

From-SVN: r239416
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-pr69848.c [new file with mode: 0644]
gcc/tree-vect-loop.c
gcc/tree-vectorizer.h