diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-17 12:28:31 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-17 12:28:31 +0000 |
commit | 087dde2d35142ee19a522164cf3267ef73fb71c7 (patch) | |
tree | c97c8c49ab09a7c1e936f238b84d63d40212b0af /gcc/tree-vect-patterns.c | |
parent | 4f19349e0d44df6e45ce246ebbb2967f91a4f6ed (diff) | |
download | gcc-087dde2d35142ee19a522164cf3267ef73fb71c7.tar.gz |
Clean up supportable_widening_operation.
* tree-vect-stmts.c (supportable_widening_operation): Remove decl
parameters.
(vectorizable_conversion): Update supportable_widening_operation call.
* tree-vect-patterns.c (vect_recog_widen_mult_pattern): Likewise.
(vect_recog_widen_shift_pattern): Likewise.
* tree-vectorizer.h: Update decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189574 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-patterns.c')
-rw-r--r-- | gcc/tree-vect-patterns.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gcc/tree-vect-patterns.c b/gcc/tree-vect-patterns.c index e8ac42acad7..595b9b6730d 100644 --- a/gcc/tree-vect-patterns.c +++ b/gcc/tree-vect-patterns.c @@ -599,7 +599,6 @@ vect_recog_widen_mult_pattern (VEC (gimple, heap) **stmts, tree type, half_type0, half_type1; gimple pattern_stmt; tree vectype, vectype_out = NULL_TREE; - tree dummy; tree var; enum tree_code dummy_code; int dummy_int; @@ -692,8 +691,8 @@ vect_recog_widen_mult_pattern (VEC (gimple, heap) **stmts, || !vectype_out || !supportable_widening_operation (WIDEN_MULT_EXPR, last_stmt, vectype_out, vectype, - &dummy, &dummy, &dummy_code, - &dummy_code, &dummy_int, &dummy_vec)) + &dummy_code, &dummy_code, + &dummy_int, &dummy_vec)) return NULL; *type_in = vectype; @@ -1370,7 +1369,6 @@ vect_recog_widen_shift_pattern (VEC (gimple, heap) **stmts, tree type, half_type0; gimple pattern_stmt; tree vectype, vectype_out = NULL_TREE; - tree dummy; tree var; enum tree_code dummy_code; int dummy_int; @@ -1441,9 +1439,8 @@ vect_recog_widen_shift_pattern (VEC (gimple, heap) **stmts, || !vectype_out || !supportable_widening_operation (WIDEN_LSHIFT_EXPR, last_stmt, vectype_out, vectype, - &dummy, &dummy, &dummy_code, - &dummy_code, &dummy_int, - &dummy_vec)) + &dummy_code, &dummy_code, + &dummy_int, &dummy_vec)) return NULL; *type_in = vectype; |