tree-outof-ssa.c (SSANORM_REMOVE_ALL_PHIS): Remove.
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 21 Feb 2005 14:33:36 +0000 (14:33 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 21 Feb 2005 14:33:36 +0000 (14:33 +0000)
* tree-outof-ssa.c (SSANORM_REMOVE_ALL_PHIS): Remove.
(SSANORM_COALESCE_PARTITIONS, SSANORM_USE_COALESCE_LIST):
Adjust their definitions.
(remove_ssa_form): Don't check for SSANORM_REMOVE_ALL_PHIS.
(rewrite_out_of_ssa): Don't use SSANORM_REMOVE_ALL_PHIS.

From-SVN: r95330

gcc/ChangeLog
gcc/tree-outof-ssa.c

index 16be6d67abd9c32408aa5628f5bbf70fc08ad148..eb1fc7297d5677a08749ba06d088dd6b50ce792d 100644 (file)
@@ -1,3 +1,11 @@
+2005-02-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-outof-ssa.c (SSANORM_REMOVE_ALL_PHIS): Remove.
+       (SSANORM_COALESCE_PARTITIONS, SSANORM_USE_COALESCE_LIST):
+       Adjust their definitions.
+       (remove_ssa_form): Don't check for SSANORM_REMOVE_ALL_PHIS.
+       (rewrite_out_of_ssa): Don't use SSANORM_REMOVE_ALL_PHIS.
+
 2005-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * dbxout.c (dbxout_function_end): Emit Lscope label always.
index 57aa200ebfc92c90e2dfa616d02b4a15c983a32a..e79b97d02db3438ac7827841291560a89f6941ec 100644 (file)
@@ -51,9 +51,8 @@ Boston, MA 02111-1307, USA.  */
 
 #define SSANORM_PERFORM_TER            0x1
 #define SSANORM_COMBINE_TEMPS          0x2
-#define SSANORM_REMOVE_ALL_PHIS                0x4
-#define SSANORM_COALESCE_PARTITIONS    0x8
-#define SSANORM_USE_COALESCE_LIST      0x10
+#define SSANORM_COALESCE_PARTITIONS    0x4
+#define SSANORM_USE_COALESCE_LIST      0x8
 
 /* Used to hold all the components required to do SSA PHI elimination.
    The node and pred/succ list is a simple linear list of nodes and
@@ -2382,9 +2381,7 @@ remove_ssa_form (FILE *dump, var_map map, int flags)
       for (phi = phi_nodes (bb); phi; phi = next)
        {
          next = PHI_CHAIN (phi);
-         if ((flags & SSANORM_REMOVE_ALL_PHIS) 
-             || var_to_partition (map, PHI_RESULT (phi)) != NO_PARTITION)
-           remove_phi_node (phi, NULL_TREE, bb);
+         remove_phi_node (phi, NULL_TREE, bb);
        }
     }
 
@@ -2492,7 +2489,7 @@ rewrite_out_of_ssa (void)
 {
   var_map map;
   int var_flags = 0;
-  int ssa_flags = (SSANORM_REMOVE_ALL_PHIS | SSANORM_USE_COALESCE_LIST);
+  int ssa_flags = SSANORM_USE_COALESCE_LIST;
 
   /* If elimination of a PHI requires inserting a copy on a backedge,
      then we will have to split the backedge which has numerous