aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2012-09-23 19:58:28 +0000
committerMarc Glisse <marc.glisse@inria.fr>2012-09-23 19:58:28 +0000
commitd82aae7d37442231f05dfbb9ac3c4973f19c3c6e (patch)
treefa3649f5923acb2757d0c7855b0d1571f63ec1a7 /gcc/expr.c
parentd937cb15b4b59346018cadcab2b8d0b720c6ffa5 (diff)
2012-09-23 Marc Glisse <marc.glisse@inria.fr>
* expr.c (do_store_flag): Remove duplicated code. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@191653 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 76244485306..9158b9f4395 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -10687,17 +10687,6 @@ do_store_flag (sepops ops, rtx target, enum machine_mode mode)
return expand_vec_cond_expr (ops->type, ifexp, if_true, if_false, target);
}
- /* For vector typed comparisons emit code to generate the desired
- all-ones or all-zeros mask. Conveniently use the VEC_COND_EXPR
- expander for this. */
- if (TREE_CODE (ops->type) == VECTOR_TYPE)
- {
- tree ifexp = build2 (ops->code, ops->type, arg0, arg1);
- tree if_true = constant_boolean_node (true, ops->type);
- tree if_false = constant_boolean_node (false, ops->type);
- return expand_vec_cond_expr (ops->type, ifexp, if_true, if_false, target);
- }
-
/* Get the rtx comparison code to use. We know that EXP is a comparison
operation of some type. Some comparisons against 1 and -1 can be
converted to comparisons with zero. Do so here so that the tests