* tree-ssa-loop-im.c
authorMarek Polacek <polacek@redhat.com>
Mon, 5 Oct 2015 16:33:16 +0000 (16:33 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 5 Oct 2015 16:33:16 +0000 (16:33 +0000)
(move_computations_dom_walker::before_dom_children): Don't set
SSA_NAME_ANTI_RANGE_P.
* tree-ssa-phiopt.c (value_replacement): Likewise.

From-SVN: r228496

gcc/ChangeLog
gcc/tree-ssa-loop-im.c
gcc/tree-ssa-phiopt.c

index b7086ef0fc8e2d8553e1f349fd46fd9f2c11d379..3cc0861c53c3e49cf095b9b34a6a9b1062bbf302 100644 (file)
@@ -1,3 +1,10 @@
+2015-10-05  Marek Polacek  <polacek@redhat.com>
+
+       * tree-ssa-loop-im.c
+       (move_computations_dom_walker::before_dom_children): Don't set
+       SSA_NAME_ANTI_RANGE_P.
+       * tree-ssa-phiopt.c (value_replacement): Likewise.
+
 2015-10-05  Aditya Kumar  <aditya.k7@samsung.com>
            Sebastian Pop  <s.pop@samsung.com>
 
index f3389a0623b63f9b64e89070fee56b50422d3393..9b2436f56b051218e15f761f34aefe8d15e2e5b8 100644 (file)
@@ -1222,7 +1222,6 @@ move_computations_dom_walker::before_dom_children (basic_block bb)
        {
          tree lhs = gimple_assign_lhs (new_stmt);
          SSA_NAME_RANGE_INFO (lhs) = NULL;
-         SSA_NAME_ANTI_RANGE_P (lhs) = 0;
        }
       gsi_insert_on_edge (loop_preheader_edge (level), new_stmt);
       remove_phi_node (&bsi, false);
@@ -1292,7 +1291,6 @@ move_computations_dom_walker::before_dom_children (basic_block bb)
        {
          tree lhs = gimple_get_lhs (stmt);
          SSA_NAME_RANGE_INFO (lhs) = NULL;
-         SSA_NAME_ANTI_RANGE_P (lhs) = 0;
        }
       /* In case this is a stmt that is not unconditionally executed
          when the target loop header is executed and the stmt may
index 697836a3c146d511d68f388f8503cc1d19337160..f33ca5c376c7703ba373733aaf391853c93e35fd 100644 (file)
@@ -1014,7 +1014,6 @@ value_replacement (basic_block cond_bb, basic_block middle_bb,
             <bb 4>:
             # u_3 = PHI <u_6(3), 4294967295(2)>  */
          SSA_NAME_RANGE_INFO (lhs) = NULL;
-         SSA_NAME_ANTI_RANGE_P (lhs) = 0;
          /* If available, we can use VR of phi result at least.  */
          tree phires = gimple_phi_result (phi);
          struct range_info_def *phires_range_info