OSDN Git Service

* tree-cfg.c (tree_can_merge_blocks_p): Allow phi nodes in the
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 May 2005 19:55:53 +0000 (19:55 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 May 2005 19:55:53 +0000 (19:55 +0000)
commit8171a1dd58f689ea938c7a771c5ec6020cca13d5
treed5471dc3f0c17a518b2a28a858669d705b2a853d
parent9ba78c6a99a114f5e01304cbbebfa12e2af95057
* tree-cfg.c (tree_can_merge_blocks_p): Allow phi nodes in the
merged block.
(replace_uses_by): New function.
(tree_merge_blocks): Eliminate the phi nodes in the merged block.
* tree-flow.h (fold_stmt_inplace): Declare.
* tree-ssa-ccp.c (fold_stmt_inplace): New function.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Update dominance
info after cfg cleanup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99850 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-flow.h
gcc/tree-ssa-ccp.c
gcc/tree-ssa-dom.c