Re: [PATCH][match-and-simplify] More ternary commutative ops, canonicalize operand order before generic_simplify

2014-10-17 Thread Richard Biener
On Fri, 17 Oct 2014, Richard Biener wrote: > On Thu, 16 Oct 2014, Jeff Law wrote: > > > On 10/16/14 05:06, Richard Biener wrote: > > > > > > This patch (also applicable to trunk) makes us canoncialize operand > > > order for comparisons at the same time we canonicalize other > > > operand order,

Re: [PATCH][match-and-simplify] More ternary commutative ops, canonicalize operand order before generic_simplify

2014-10-17 Thread Richard Biener
On Thu, 16 Oct 2014, Jeff Law wrote: > On 10/16/14 05:06, Richard Biener wrote: > > > > This patch (also applicable to trunk) makes us canoncialize operand > > order for comparisons at the same time we canonicalize other > > operand order, in particular before dispatching to generic_simplify. > >

Re: [PATCH][match-and-simplify] More ternary commutative ops, canonicalize operand order before generic_simplify

2014-10-16 Thread Jeff Law
On 10/16/14 05:06, Richard Biener wrote: This patch (also applicable to trunk) makes us canoncialize operand order for comparisons at the same time we canonicalize other operand order, in particular before dispatching to generic_simplify. It also adds operand canonicalization to ternary ops and

[PATCH][match-and-simplify] More ternary commutative ops, canonicalize operand order before generic_simplify

2014-10-16 Thread Richard Biener
This patch (also applicable to trunk) makes us canoncialize operand order for comparisons at the same time we canonicalize other operand order, in particular before dispatching to generic_simplify. It also adds operand canonicalization to ternary ops and adds FMA_EXPR and DOT_PROD_EXPR to the list