2008-09-25 Vladimir Makarov <vmakarov@redhat.com>
commit7f36fbdfd8c962fcc79e0ad1e80718fd24fe7fb0
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Sep 2008 00:14:30 +0000 (26 00:14 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Sep 2008 00:14:30 +0000 (26 00:14 +0000)
tree2741e87ab5d7829e6e4d8233ab8d254ba88a0f4b
parent99ebeab133265276d413f49943b55e6ff723028f
2008-09-25  Vladimir Makarov  <vmakarov@redhat.com>

PR middle-end/37448

* ira-int.h (IRA_ALLOCNO_TEMP): Rename to ALLOCNO_TEMP.
(ira_compress_allocno_live_ranges): New prototype.

* ira-color.c: Rename IRA_ALLOCNO_TEMP to ALLOCNO_TEMP.
(coalesced_allocnos_living_at_program_points): New.
(coalesced_allocnos_live_at_points_p,
set_coalesced_allocnos_live_points): New functions.
(coalesce_spill_slots): Rewrite.

* ira-lives.c (remove_some_program_points_and_update_live_ranges,
ira_compress_allocno_live_ranges): New functions.

* ira-build.c (ira_flattening): Call
ira_compress_allocno_live_ranges.
(ira_build): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140674 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ira-build.c
gcc/ira-color.c
gcc/ira-int.h
gcc/ira-lives.c