This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] O(1) PHI argument look-up - Part 5/n


On Sun, 2004-11-21 at 16:28 -0500, Kazu Hirata wrote:
> Hi,
> 
> Attached is a patch to part 5 of my O(1) PHI argument look-up patch.
> 
> This patch moves removal of PHI args behind the scene of remove_edge.
> Specifically, remove_phi_args is called from the CFG hook
> execute_on_shrinking_pred.
> 
> Tested on i686-pc-linux-gnu on top of
> 
> http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01668.html
> http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01679.html
> 
> OK to apply?
> 
> p.s.
> Note that ssa_remove_edge becomes a simple wrapper.  If you could
> preapprove a patch to replace ssa_remove_edge with remove_edge, that
> would be greatly appreciated.
> 
> Kazu Hirata
> 
> 2004-11-21  Kazu Hirata  <kazu@cs.umass.edu>
> 
> 	* tree-cfg.c (tree_execute_on_shrinking_pred): New.
> 	(tree_cfg_hooks): Use it.
> 	* tree-ssa.c (ssa_remove_edge): Don't call remove_phi_args.
> 	(ssa_redirect_edge): Don't call remove_phi_arg_num.
OK.  Patch to replace uses of ssa_remove_edge with remove_edge is
pre-approved.
jeff



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]