[PATCH] improve tree-ssa-phiopt a little, PR 14466

Andrew Pinski pinskia@physics.uc.edu
Thu May 13 15:14:00 GMT 2004


On May 13, 2004, at 10:36, Andrew Pinski wrote:
> ChangeLog:
>
> 	* tree-ssa-phiopt.c (make_temp): New function.	
> 	(conditional_replacement): When we get non gimple create
> 	a temporary variable to hold the casted expression.

I had forgot a part of the changelog:

	(pass_phiopt): Run the renamer after the pass and verify
	the flow.


> @@ -300,7 +348,8 @@ struct tree_opt_pass pass_phiopt =
>    0,					/* properties_destroyed */
>    0,					/* todo_flags_start */
>    TODO_dump_func | TODO_ggc_collect	/* todo_flags_finish */
> -    | TODO_verify_ssa
> +    | TODO_verify_ssa | TODO_rename_vars
> +    | TODO_verify_flow
>  };


Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list