Re: Match-and-simplify and COND_EXPR

2014-11-11 Thread Richard Biener
On Tue, 11 Nov 2014, Richard Biener wrote: > On Tue, 11 Nov 2014, Richard Biener wrote: > > > On Mon, 10 Nov 2014, Andrew Pinski wrote: > > > > > On Fri, Nov 7, 2014 at 2:23 AM, Richard Biener wrote: > > > > On Thu, 6 Nov 2014, Andrew Pinski wrote: > > > > > > > >> On Thu, Nov 6, 2014 at 2:40 A

Re: Match-and-simplify and COND_EXPR

2014-11-11 Thread Richard Biener
On Tue, 11 Nov 2014, Richard Biener wrote: > On Mon, 10 Nov 2014, Andrew Pinski wrote: > > > On Fri, Nov 7, 2014 at 2:23 AM, Richard Biener wrote: > > > On Thu, 6 Nov 2014, Andrew Pinski wrote: > > > > > >> On Thu, Nov 6, 2014 at 2:40 AM, Richard Biener wrote: > > >> > On Thu, 6 Nov 2014, Richa

Re: Match-and-simplify and COND_EXPR

2014-11-11 Thread Richard Biener
On Mon, 10 Nov 2014, Andrew Pinski wrote: > On Fri, Nov 7, 2014 at 2:23 AM, Richard Biener wrote: > > On Thu, 6 Nov 2014, Andrew Pinski wrote: > > > >> On Thu, Nov 6, 2014 at 2:40 AM, Richard Biener wrote: > >> > On Thu, 6 Nov 2014, Richard Biener wrote: > >> > > >> >> On Wed, 5 Nov 2014, Andrew

Re: Match-and-simplify and COND_EXPR

2014-11-10 Thread Andrew Pinski
On Fri, Nov 7, 2014 at 2:23 AM, Richard Biener wrote: > On Thu, 6 Nov 2014, Andrew Pinski wrote: > >> On Thu, Nov 6, 2014 at 2:40 AM, Richard Biener wrote: >> > On Thu, 6 Nov 2014, Richard Biener wrote: >> > >> >> On Wed, 5 Nov 2014, Andrew Pinski wrote: >> >> >> >> > Hi, >> >> > I was trying t

Re: Match-and-simplify and COND_EXPR

2014-11-07 Thread Richard Biener
On Thu, 6 Nov 2014, Andrew Pinski wrote: > On Thu, Nov 6, 2014 at 2:40 AM, Richard Biener wrote: > > On Thu, 6 Nov 2014, Richard Biener wrote: > > > >> On Wed, 5 Nov 2014, Andrew Pinski wrote: > >> > >> > Hi, > >> > I was trying to hook up tree-ssa-phiopt to match-and-simplify using > >> > eith

Re: Match-and-simplify and COND_EXPR

2014-11-07 Thread Richard Biener
On Thu, 6 Nov 2014, pins...@gmail.com wrote: > > > > > > On Nov 6, 2014, at 11:24 PM, Richard Biener wrote: > > > >> On November 7, 2014 5:03:19 AM CET, Andrew Pinski > >> wrote: > >> On Thu, Nov 6, 2014 at 2:40 AM, Richard Biener > >> wrote: > >>> On Thu, 6 Nov 2014, Richard Biener wrote

Re: Match-and-simplify and COND_EXPR

2014-11-06 Thread pinskia
> On Nov 6, 2014, at 11:24 PM, Richard Biener wrote: > >> On November 7, 2014 5:03:19 AM CET, Andrew Pinski wrote: >> On Thu, Nov 6, 2014 at 2:40 AM, Richard Biener >> wrote: >>> On Thu, 6 Nov 2014, Richard Biener wrote: >>> > On Wed, 5 Nov 2014, Andrew Pinski wrote: > > Hi, >

Re: Match-and-simplify and COND_EXPR

2014-11-06 Thread Richard Biener
On November 7, 2014 5:03:19 AM CET, Andrew Pinski wrote: >On Thu, Nov 6, 2014 at 2:40 AM, Richard Biener >wrote: >> On Thu, 6 Nov 2014, Richard Biener wrote: >> >>> On Wed, 5 Nov 2014, Andrew Pinski wrote: >>> >>> > Hi, >>> > I was trying to hook up tree-ssa-phiopt to match-and-simplify >using

Re: Match-and-simplify and COND_EXPR

2014-11-06 Thread Andrew Pinski
On Thu, Nov 6, 2014 at 2:40 AM, Richard Biener wrote: > On Thu, 6 Nov 2014, Richard Biener wrote: > >> On Wed, 5 Nov 2014, Andrew Pinski wrote: >> >> > Hi, >> > I was trying to hook up tree-ssa-phiopt to match-and-simplify using >> > either gimple_build (or rather using gimple_simplify depending

Re: Match-and-simplify and COND_EXPR

2014-11-06 Thread Richard Biener
On Thu, 6 Nov 2014, Richard Biener wrote: > On Wed, 5 Nov 2014, Andrew Pinski wrote: > > > Hi, > > I was trying to hook up tree-ssa-phiopt to match-and-simplify using > > either gimple_build (or rather using gimple_simplify depending on if > > we want to produce cond_expr for conditional move).

Re: Match-and-simplify and COND_EXPR

2014-11-06 Thread Richard Biener
On Wed, 5 Nov 2014, Andrew Pinski wrote: > Hi, > I was trying to hook up tree-ssa-phiopt to match-and-simplify using > either gimple_build (or rather using gimple_simplify depending on if > we want to produce cond_expr for conditional move). I ran into a > problem. > With the pattern below: > /

Re: Match-and-simplify and COND_EXPR

2014-11-06 Thread Richard Biener
On Wed, 5 Nov 2014, Andrew Pinski wrote: > Hi, > I was trying to hook up tree-ssa-phiopt to match-and-simplify using > either gimple_build (or rather using gimple_simplify depending on if > we want to produce cond_expr for conditional move). I ran into a > problem. > With the pattern below: > /

Match-and-simplify and COND_EXPR

2014-11-05 Thread Andrew Pinski
Hi, I was trying to hook up tree-ssa-phiopt to match-and-simplify using either gimple_build (or rather using gimple_simplify depending on if we want to produce cond_expr for conditional move). I ran into a problem. With the pattern below: /* a ? 0 : 1 -> a if 0 and 1 are integral types. */ (simp