[PATCH]: Use loop depth information in record_equality in DOM, take 2

Jeffrey A Law law@redhat.com
Fri Oct 22 20:01:00 GMT 2004


On Mon, 2004-10-11 at 12:05, Daniel Berlin wrote:
> Jeff, I believe this addresses your comments and concerns about the last 
> patch.
> 
> As i've noted in the comment for loop_depth_of_name, we do have some loop 
> information at all executions of DOM, however, it may not be perfectly 
> up-to-date.  It is useful where it *is* up to date, however, and will only 
> get better as more passes keep the loop info up to date (there are only a 
> few that don't know they are playing in loops, and need to call some 
> extra update functions, or we need to make the existing update functions 
> smarter).
> 
> 
> Bootstrapped and regtested on i686-pc-linux-gnu.
> 
> --Dan
> 
> 2004-10-07  Daniel Berlin  <dberlin@dberlin.org>
> 
>  	* tree-ssa-dom.c (record_equality): Use loop depth to determine
>  	which way to record the equality as well.
>  	(loop_depth_of_name): New function.
This is fine.  Thanks,
Jeff




More information about the Gcc-patches mailing list