diff options
author | glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-23 19:58:28 +0000 |
---|---|---|
committer | glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-23 19:58:28 +0000 |
commit | 9438b04d8cf94e225e12fb96469f3ad1da75046a (patch) | |
tree | fa3649f5923acb2757d0c7855b0d1571f63ec1a7 /gcc/expr.c | |
parent | afc581b5787e8ea71df714472bf90ca4b8de69c6 (diff) | |
download | gcc-9438b04d8cf94e225e12fb96469f3ad1da75046a.tar.gz |
2012-09-23 Marc Glisse <marc.glisse@inria.fr>
* expr.c (do_store_flag): Remove duplicated code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191653 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 11 |
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 |