]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
expr.c (do_store_flag): Remove duplicated code.
authorMarc Glisse <marc.glisse@inria.fr>
Sun, 23 Sep 2012 19:58:28 +0000 (21:58 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Sun, 23 Sep 2012 19:58:28 +0000 (19:58 +0000)
2012-09-23  Marc Glisse  <marc.glisse@inria.fr>

* expr.c (do_store_flag): Remove duplicated code.

From-SVN: r191653

gcc/ChangeLog
gcc/expr.c

index e650f9061c3e22e7dce441d2f50ebe1d00712786..9aa6e8e5079e78d7e8b1d9ca6017f654281199fb 100644 (file)
@@ -1,3 +1,7 @@
+2012-09-23  Marc Glisse  <marc.glisse@inria.fr>
+
+       * expr.c (do_store_flag): Remove duplicated code.
+
 2012-09-22  Segher Boessenkool  <segher@kernel.crashing.org>
 
        * config/rs6000/predicates.md (altivec_register_operand,
index 762444853064c50a5c086b11c92fa0dd53146975..9158b9f43955fe24ee94f4dfcb8cd82e2986a28e 100644 (file)
@@ -10676,17 +10676,6 @@ do_store_flag (sepops ops, rtx target, enum machine_mode mode)
   STRIP_NOPS (arg0);
   STRIP_NOPS (arg1);
   
-  /* 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);
-    }
-
   /* 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.  */