This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r156454 - in /branches/reload-v2a/gcc: ChangeLo...
- From: law at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 02 Feb 2010 22:47:10 -0000
- Subject: r156454 - in /branches/reload-v2a/gcc: ChangeLo...
Author: law
Date: Tue Feb 2 22:47:09 2010
New Revision: 156454
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156454
Log:
* ira-conflicts.c (process_regs_for_copy): Skip conflicts test if
CONFLICTS is NULL.
(add_insn_allocno_copies): Similarly for REG_DEAD notes.
(ira_add_copies): Renamed from add_copies.
(ira_build_conflicts): Corresponding changes. Clear CONFLICTS after
freeing memory.
* ira-int.h (ira_add_copies): Prototype.
* ira-build.c (finish_loop_tree_node): New argument to control
deletion of the regno_allocno_map.
(finish_loop_tree_nodes): Pass in new argument to
finish_loop_tree_node. Do not delete regno_allocno_map here.
(remove_unnecessary_regions): Pass in new argument to
finish_loop_tree_node.
* ira-reload.c (fix_allocno_map): New function.
(build_conflicts_for_new_allocnos): Remove copy detection.
(ira_reload): Call fix_allocno_map and ira_add_copies.
Modified:
branches/reload-v2a/gcc/ChangeLog-ira-reload
branches/reload-v2a/gcc/ira-build.c
branches/reload-v2a/gcc/ira-conflicts.c
branches/reload-v2a/gcc/ira-int.h
branches/reload-v2a/gcc/ira-reload.c