[patch] Allow merging blocks with phi nodes
Richard Henderson
rth@redhat.com
Tue May 17 04:00:00 GMT 2005
On Mon, May 16, 2005 at 09:18:22PM +0200, Zdenek Dvorak wrote:
> * 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.
Ok.
r~
More information about the Gcc-patches
mailing list