This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Update SSA operands for vector lowering


Andrew's immediate uses work did change modify_stmt to mark_stmt_modified, but he did not insert calls to update_stmt because mainline never does vector lowering in SSA form.

This however fails when generic vectors are used (with my patches) and must be lowered. The fix is trivial, so I committed it.

Paolo

2005-04-11 Paolo Bonzini <bonzini@gnu.org>

       * tree-complex.c (expand_vector_operations): Call
       update_stmt_if_modified.


Index: tree-complex.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-complex.c,v
retrieving revision 2.21
diff -u -r2.21 tree-complex.c
--- tree-complex.c	9 Apr 2005 01:37:23 -0000	2.21
+++ tree-complex.c	11 Apr 2005 12:08:44 -0000
@@ -986,7 +986,10 @@
   FOR_EACH_BB (bb)
     {
       for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi))
-	expand_vector_operations_1 (&bsi);
+	{
+	  expand_vector_operations_1 (&bsi);
+	  update_stmt_if_modified (bsi_stmt (bsi));
+	}
     }
 }
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]