Re: [PATCH] Teach forwprop how to optimize successive conversions

2012-06-10 Thread H.J. Lu
On Mon, Aug 29, 2011 at 6:43 AM, H.J. Lu wrote: > On Tue, May 10, 2011 at 2:55 AM, Richard Guenther wrote: >> >> This moves fold-consts conversion folding to forwprop, our tree >> pattern matcher & optimizer.  In addition to what fold-const >> does this makes us canonicalize unsigned truncations

Re: [PATCH] Teach forwprop how to optimize successive conversions

2011-08-29 Thread H.J. Lu
On Tue, May 10, 2011 at 2:55 AM, Richard Guenther wrote: > > This moves fold-consts conversion folding to forwprop, our tree > pattern matcher & optimizer.  In addition to what fold-const > does this makes us canonicalize unsigned truncations to use > bitwise and of a mask, this form is more readi