This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] SSA->Normal coalescing patch
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: Andrew MacLeod <amacleod at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: 11 Feb 2004 11:47:24 -0500
- Subject: Re: [tree-ssa] SSA->Normal coalescing patch
- References: <1076511696.7219.10.camel@p4>
On Wed, 2004-02-11 at 10:01, Andrew MacLeod wrote:
>
> I'm planning to check this in shortly.
>
Huh. Diego added something, and now when I use the coalesce list, gap
compiles incorrectly when I use the coalesce list. So Im reverting using
the coalesce list until Ive investigated.
Andrew
Index: ChangeLog.tree-ssa
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/ChangeLog.tree-ssa,v
retrieving revision 1.1.2.1179
diff -c -p -r1.1.2.1179 ChangeLog.tree-ssa
*** ChangeLog.tree-ssa 11 Feb 2004 16:28:39 -0000 1.1.2.1179
--- ChangeLog.tree-ssa 11 Feb 2004 16:45:44 -0000
***************
*** 1,5 ****
--- 1,10 ----
2004-02-11 Andrew MacLeod <amacleod@redhat.com>
+ * tree-ssa.c (rewrite_out_of_ssa): Don't use coalesce list until new
+ bug resolved.
+
+ 2004-02-11 Andrew MacLeod <amacleod@redhat.com>
+
* tree-ssa-live.c (compare_pairs): New. Coalesce list cost function.
(sort_coalesce_list): Use qsort() to sort list by cost.
(coalesce_tpa_members): Use correct partition representatives. Add more
Index: tree-ssa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-ssa.c,v
retrieving revision 1.1.4.196
diff -c -p -r1.1.4.196 tree-ssa.c
*** tree-ssa.c 11 Feb 2004 16:28:40 -0000 1.1.4.196
--- tree-ssa.c 11 Feb 2004 16:45:45 -0000
*************** rewrite_out_of_ssa (void)
*** 2785,2792 ****
{
var_map map;
int var_flags = 0;
! int ssa_flags = (SSANORM_REMOVE_ALL_PHIS | SSANORM_USE_COALESCE_LIST
! | SSANORM_COALESCE_PARTITIONS);
eliminate_virtual_phis ();
--- 2785,2791 ----
{
var_map map;
int var_flags = 0;
! int ssa_flags = (SSANORM_REMOVE_ALL_PHIS | SSANORM_COALESCE_PARTITIONS);
eliminate_virtual_phis ();