diff options
author | Ira Rosen <irar@il.ibm.com> | 2009-07-20 11:59:10 +0000 |
---|---|---|
committer | Ira Rosen <irar@gcc.gnu.org> | 2009-07-20 11:59:10 +0000 |
commit | 4bbe826276ddc92d622b519659c52ca7027a823c (patch) | |
tree | b5c54f986ec049e40252b92d71e7729a749daaa7 /config.sub | |
parent | 9e7c935a29fe3d44f60a40960ee4791aab285423 (diff) | |
download | gcc-4bbe826276ddc92d622b519659c52ca7027a823c.zip gcc-4bbe826276ddc92d622b519659c52ca7027a823c.tar.gz gcc-4bbe826276ddc92d622b519659c52ca7027a823c.tar.bz2 |
tree-vectorizer.h (vectorizable_condition): Add parameters.
* tree-vectorizer.h (vectorizable_condition): Add parameters.
* tree-vect-loop.c (vect_is_simple_reduction): Support COND_EXPR.
(get_initial_def_for_reduction): Likewise.
(vectorizable_reduction): Skip the check of first operand in case
of COND_EXPR. Add check that it is outer loop vectorization if
nested cycle was detected. Call vectorizable_condition() for
COND_EXPR. If reduction epilogue cannot be created do not fail for
nested cycles (if it is not double reduction). Assert that there
is only one type in the loop in case of COND_EXPR. Call
vectorizable_condition() to vectorize COND_EXPR.
* tree-vect-stmts.c (vectorizable_condition): Update comment.
Add parameters. Allow nested cycles if called from
vectorizable_reduction(). Use reduction vector variable if provided.
(vect_analyze_stmt): Call vectorizable_reduction() before
vectorizable_condition().
(vect_transform_stmt): Update call to vectorizable_condition().
From-SVN: r149806
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions