Re: [PATCH] Fix PR 29333: Jump threading getting in the way of PHI-OPT

2012-01-23 Thread Richard Guenther
On Mon, Jan 23, 2012 at 6:33 AM, Andrew Pinski wrote: > Hi, >  The problem here is not really jump threading getting in the way of > PHI-OPT rather there is no cleanup of the IR after jump thread but > before phi-opt. > This patch adds a pass_phi_only_cprop right after the first vrp and > pass_mer

[PATCH] Fix PR 29333: Jump threading getting in the way of PHI-OPT

2012-01-22 Thread Andrew Pinski
Hi, The problem here is not really jump threading getting in the way of PHI-OPT rather there is no cleanup of the IR after jump thread but before phi-opt. This patch adds a pass_phi_only_cprop right after the first vrp and pass_merge_phi right before the first and last phiopts. Since VRP does ju