Re: [PATCH][17/n] Merge from match-and-simplify, plus/minus association patterns

2014-11-12 Thread H.J. Lu
On Wed, Nov 12, 2014 at 9:55 AM, H.J. Lu wrote: > On Tue, Nov 11, 2014 at 5:13 AM, Richard Biener wrote: >> >> This merges patterns from associate_plusminus and adjusts them with >> details from their fold-const.c pendants. It also fixes missing >> flag_sanitize checks on negate contraction on t

Re: [PATCH][17/n] Merge from match-and-simplify, plus/minus association patterns

2014-11-12 Thread H.J. Lu
On Tue, Nov 11, 2014 at 5:13 AM, Richard Biener wrote: > > This merges patterns from associate_plusminus and adjusts them with > details from their fold-const.c pendants. It also fixes missing > flag_sanitize checks on negate contraction on the way. > > This shows places where folds STRIP_NOPs wa

[PATCH][17/n] Merge from match-and-simplify, plus/minus association patterns

2014-11-11 Thread Richard Biener
This merges patterns from associate_plusminus and adjusts them with details from their fold-const.c pendants. It also fixes missing flag_sanitize checks on negate contraction on the way. This shows places where folds STRIP_NOPs was important (but also shows where it may create wrong code - sth t