tree-vectorizer.c (vectorize_loops): Do not call mark_virtual_operands_for_renaming.
authorRichard Guenther <rguenther@suse.de>
Wed, 22 Aug 2012 15:11:26 +0000 (15:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 22 Aug 2012 15:11:26 +0000 (15:11 +0000)
2012-08-22  Richard Guenther  <rguenther@suse.de>

* tree-vectorizer.c (vectorize_loops): Do not call
mark_virtual_operands_for_renaming.
* tree-vect-slp.c (vect_slp_transform_bb): Likewise.
Do not update SSA form here.

From-SVN: r190596

gcc/ChangeLog
gcc/tree-vect-slp.c
gcc/tree-vectorizer.c

index c9b0e0a84cf75068d83c1e725234a995bdd8bbc5..f965a4ea11453d94c7dc51440961581fbdb5b3d1 100644 (file)
@@ -1,3 +1,10 @@
+2012-08-22  Richard Guenther  <rguenther@suse.de>
+
+       * tree-vectorizer.c (vectorize_loops): Do not call
+       mark_virtual_operands_for_renaming.
+       * tree-vect-slp.c (vect_slp_transform_bb): Likewise.
+       Do not update SSA form here.
+
 2012-08-22  Dodji Seketeli  <dodji@redhat.com>
 
        * tree.h (TREE_NOTHROW): Use the base.nothrow_flag.
index 01575b43d636f7ba42a17349ed281927ebb7d581..b2d0a6b4042d9e44f46c41167a049a5f1b4b0b9a 100644 (file)
@@ -3159,12 +3159,6 @@ vect_slp_transform_bb (basic_block bb)
         }
     }
 
-  mark_virtual_operands_for_renaming (cfun);
-  /* The memory tags and pointers in vectorized statements need to
-     have their SSA forms updated.  FIXME, why can't this be delayed
-     until all the loops have been transformed?  */
-  update_ssa (TODO_update_ssa);
-
   if (vect_print_dump_info (REPORT_DETAILS))
     fprintf (vect_dump, "BASIC BLOCK VECTORIZED\n");
 
index 6944d139470f43d78aa4987d303b9278259bc867..8856a2c51e662eafe600a5a8ee959796bd4dfb6a 100644 (file)
@@ -223,8 +223,6 @@ vectorize_loops (void)
 
   /*  ----------- Finalize. -----------  */
 
-  mark_virtual_operands_for_renaming (cfun);
-
   for (i = 1; i < vect_loops_num; i++)
     {
       loop_vec_info loop_vinfo;