diff options
author | Jeffrey A Law <law@cygnus.com> | 2001-06-20 14:44:04 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2001-06-20 08:44:04 -0600 |
commit | 5e93ca86989eddaedb7c6fac12168f1f9ca9786a (patch) | |
tree | 0032761ddc44f635a09dd67cb15e4cb7e9856384 | |
parent | f5e6aae050dbc15f297785d284bd33eb778509a5 (diff) | |
download | gcc-5e93ca86989eddaedb7c6fac12168f1f9ca9786a.zip gcc-5e93ca86989eddaedb7c6fac12168f1f9ca9786a.tar.gz gcc-5e93ca86989eddaedb7c6fac12168f1f9ca9786a.tar.bz2 |
ssa.c (rename_block): Update parameter to remove_phi_alternative
* ssa.c (rename_block): Update parameter to remove_phi_alternative
(convert_from_ssa): Do create REG_DEAD and REG_UNUSED notes when
re-running life analysis.
From-SVN: r43473
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ssa.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 92e5867..2a4c502 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Wed Jun 20 08:35:02 2001 Jeffrey A Law (law@cygnus.com) + + * ssa.c (rename_block): Update parameter to remove_phi_alternative + (convert_from_ssa): Do create REG_DEAD and REG_UNUSED notes when + re-running life analysis. + 2001-06-20 Stan Shebs <shebs@apple.com> * objc/objc-act.c (hash_init): Assume xmalloc always succeeds, @@ -1065,7 +1065,7 @@ rename_block (bb, idom) consider those edges. */ if (reg == NULL || reg == RENAME_NO_RTX) { - if (! remove_phi_alternative (phi, bb)) + if (! remove_phi_alternative (phi, b)) abort (); } else @@ -2153,8 +2153,8 @@ convert_from_ssa() any significant dead code at this point, except perhaps dead stores. So do not take the time to perform dead code elimination. - We also do not need death notes, so don't bother creating them. */ - life_analysis (insns, NULL, 0); + Register coalescing needs death notes, so generate them. */ + life_analysis (insns, NULL, PROP_DEATH_NOTES); /* Figure out which regs in copies and phi nodes don't conflict and therefore can be coalesced. */ |