aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-generic.c
diff options
context:
space:
mode:
authorAlan Lawrence <alan.lawrence@arm.com>2014-10-28 11:17:47 +0000
committerAlan Lawrence <alalaw01@gcc.gnu.org>2014-10-28 11:17:47 +0000
commite29dfbf07d93e89e92d8b95bef247fc95a8024ef (patch)
tree815114050f368a772cb5c71599a28a3a4b7ef2ec /gcc/tree-vect-generic.c
parentfed4de37b870faad50374a63aa1cf68a97963da6 (diff)
downloadgcc-e29dfbf07d93e89e92d8b95bef247fc95a8024ef.zip
gcc-e29dfbf07d93e89e92d8b95bef247fc95a8024ef.tar.gz
gcc-e29dfbf07d93e89e92d8b95bef247fc95a8024ef.tar.bz2
Remove VEC_LSHIFT_EXPR and vec_shl_optab
* expr.c (expand_expr_real_2): Remove code handling VEC_LSHIFT_EXPR. * fold-const.c (const_binop): Likewise. * cfgexpand.c (expand_debug_expr): Likewise. * tree-inline.c (estimate_operator_cost): Likewise. * tree-vect-generic.c (expand_vector_operations_1): Likewise. * optabs.c (optab_for_tree_code): Likewise. (expand_vec_shift_expr): Likewise, update comment. * tree.def: Delete VEC_LSHIFT_EXPR, remove comment. * optabs.h (expand_vec_shift_expr): Remove comment re. VEC_LSHIFT_EXPR. * optabs.def: Remove vec_shl_optab. * doc/md.texi: Remove references to vec_shr_m. From-SVN: r216779
Diffstat (limited to 'gcc/tree-vect-generic.c')
-rw-r--r--gcc/tree-vect-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vect-generic.c b/gcc/tree-vect-generic.c
index 190ba18..28111ca 100644
--- a/gcc/tree-vect-generic.c
+++ b/gcc/tree-vect-generic.c
@@ -1605,7 +1605,7 @@ expand_vector_operations_1 (gimple_stmt_iterator *gsi)
if (compute_type == type)
return;
- gcc_assert (code != VEC_LSHIFT_EXPR && code != VEC_RSHIFT_EXPR);
+ gcc_assert (code != VEC_RSHIFT_EXPR);
new_rhs = expand_vector_operation (gsi, type, compute_type, stmt, code);
/* Leave expression untouched for later expansion. */