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] Speed up phi node insertion


Zdenek Dvorak wrote on 07/30/06 06:53:

> 	PR rtl-optimization/28071
> 	* basic-block.h (bb_dom_dfs_in, bb_dom_dfs_out): Declare.
> 	* dominance.c (bb_dom_dfs_in, bb_dom_dfs_out): New functions.
> 	* tree-into-ssa.c (struct dom_dfsnum): New.
> 	(cmp_dfsnum, find_dfsnum_interval, prune_unused_phi_nodes): New
> 	functions.
> 	(insert_phi_nodes_for): Use prune_unused_phi_nodes instead of
> 	compute_global_livein.
> 	(prepare_block_for_update, prepare_use_sites_for): Mark the uses
> 	in phi nodes in the correct blocks.
> 
OK.  Nice catch, thanks.


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