aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-vect-patterns.c')
-rw-r--r--gcc/tree-vect-patterns.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/tree-vect-patterns.c b/gcc/tree-vect-patterns.c
index 71533e6..53ced5d 100644
--- a/gcc/tree-vect-patterns.c
+++ b/gcc/tree-vect-patterns.c
@@ -1039,12 +1039,6 @@ vect_recog_dot_prod_pattern (vec_info *vinfo,
: TYPE_SIGN (unprom_mult.type) != TYPE_SIGN (half_type)))
return NULL;
- /* If there are two widening operations, make sure they agree on
- the sign of the extension. */
- if (TYPE_PRECISION (unprom_mult.type) != TYPE_PRECISION (type)
- && TYPE_SIGN (unprom_mult.type) != TYPE_SIGN (half_type))
- return NULL;
-
vect_pattern_detected ("vect_recog_dot_prod_pattern", last_stmt);
tree half_vectype;