From ad2dd72a0e83c5f5a4f395c1f818872b618550a5 Mon Sep 17 00:00:00 2001 From: Ira Rosen Date: Tue, 12 Aug 2008 06:31:57 +0000 Subject: tree-vectorizer.c: Depend on langhooks.h. * tree-vectorizer.c: Depend on langhooks.h. (supportable_widening_operation): Add two arguments. Support double type conversions. (supportable_narrowing_operation): Likewise. * tree-vectorizer.h (supportable_widening_operation): Add two arguments. (supportable_narrowing_operation): Likewise. * tree-vect-patterns.c (vect_recog_widen_mult_pattern) : Call supportable_widening_operation with correct arguments. * tree-vect-transform.c (vectorizable_conversion): Likewise. (vectorizable_type_demotion): Support double type conversions. (vectorizable_type_promotion): Likewise. * Makefile.in (tree-vectorizer.o): Depend on langhooks.h. From-SVN: r138988 --- gcc/tree-vect-patterns.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/tree-vect-patterns.c') diff --git a/gcc/tree-vect-patterns.c b/gcc/tree-vect-patterns.c index e53780f..d5bff5a 100644 --- a/gcc/tree-vect-patterns.c +++ b/gcc/tree-vect-patterns.c @@ -374,6 +374,7 @@ vect_recog_widen_mult_pattern (gimple last_stmt, tree dummy; tree var; enum tree_code dummy_code; + bool dummy_bool; if (!is_gimple_assign (last_stmt)) return NULL; @@ -414,7 +415,7 @@ vect_recog_widen_mult_pattern (gimple last_stmt, if (!vectype || !supportable_widening_operation (WIDEN_MULT_EXPR, last_stmt, vectype, &dummy, &dummy, &dummy_code, - &dummy_code)) + &dummy_code, &dummy_bool, &dummy)) return NULL; *type_in = vectype; -- cgit v1.1