aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.def
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.def
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.def')
-rw-r--r--gcc/tree.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree.def b/gcc/tree.def
index c830e4b..ff6be21 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -1242,10 +1242,9 @@ DEFTREECODE (WIDEN_LSHIFT_EXPR, "widen_lshift_expr", tcc_binary, 2)
before adding operand three. */
DEFTREECODE (FMA_EXPR, "fma_expr", tcc_expression, 3)
-/* Whole vector left/right shift in bits.
+/* Whole vector right shift in bits.
Operand 0 is a vector to be shifted.
Operand 1 is an integer shift amount in bits. */
-DEFTREECODE (VEC_LSHIFT_EXPR, "vec_lshift_expr", tcc_binary, 2)
DEFTREECODE (VEC_RSHIFT_EXPR, "vec_rshift_expr", tcc_binary, 2)
/* Widening vector multiplication.