diff options
author | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-11 07:54:35 +0000 |
---|---|---|
committer | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-11 07:54:35 +0000 |
commit | 596e8f4022cb1ac97c5d4ce7b738c9f51653a778 (patch) | |
tree | 68c32f3594f33ca5dcf26551caaa68d3a10a4341 /gcc/tree-vect-patterns.c | |
parent | 57c7de112adba4427322df2513a136e136e4ed05 (diff) | |
download | gcc-596e8f4022cb1ac97c5d4ce7b738c9f51653a778.tar.gz |
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Use
GIMPLE_STMT_OPERAND.
* tree-vect-transform.c (vect_permute_store_chain): Likewise.
(vect_setup_realignment): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119730 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-patterns.c')
-rw-r--r-- | gcc/tree-vect-patterns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vect-patterns.c b/gcc/tree-vect-patterns.c index cb5d4e72d2a..f9d3de6d4eb 100644 --- a/gcc/tree-vect-patterns.c +++ b/gcc/tree-vect-patterns.c @@ -204,7 +204,7 @@ vect_recog_dot_prod_pattern (tree last_stmt, tree *type_in, tree *type_out) /* Has been detected as widening-summation? */ stmt = STMT_VINFO_RELATED_STMT (stmt_vinfo); - expr = TREE_OPERAND (stmt, 1); + expr = GIMPLE_STMT_OPERAND (stmt, 1); type = TREE_TYPE (expr); if (TREE_CODE (expr) != WIDEN_SUM_EXPR) return NULL; |