2008-11-19 Vladimir Makarov <vmakarov@redhat.com>
commit0b1329df44f1534a74db0fa0c4f134fbdac5bbc7
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Nov 2008 21:25:00 +0000 (19 21:25 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Nov 2008 21:25:00 +0000 (19 21:25 +0000)
treeabbc12ec53d3e488d10d9e7e19b31568683777b9
parent69f8e08094a3f6e518c08f323bc2687ffe696c9e
2008-11-19  Vladimir Makarov  <vmakarov@redhat.com>

PR bootstrap/37859
* ira-int.h (struct ira_loop_tree_node): New member
entered_from_non_parent_p.

* ira-color.c (print_loop_title): Print loop bbs.

* ira-emit.c (entered_from_non_parent_p,
setup_entered_from_non_parent_p): New functions.
(not_modified_p): Rename to store_can_be_removed_p.  Check there
is no side entries.
(generate_edge_moves): Use store_can_be_removed_p instead of
not_modified_p.
(ira_emit): Call setup_entered_from_non_parent_p.

* ira-build.c (copy_info_to_removed_store_destinations):
Accumulate CALL_FREQ, CALL_CROSSED_NUM, and
ALLOCNO_EXCESS_PRESSURE_POINTS_NUM.
(ira_flattening): Don't CHECK MEM_OPTIMIZED_DEST[_P], always
update all accumulated attributes.

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