This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Remove match.pd pattern dups in favor of using :c
- From: Richard Biener <rguenther at suse dot de>
- To: Alexander Monakov <amonakov at ispras dot ru>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 1 Jun 2016 12:39:12 +0200 (CEST)
- Subject: Re: Remove match.pd pattern dups in favor of using :c
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1606011228230 dot 1493 at t29 dot fhfr dot qr> <alpine dot LNX dot 2 dot 20 dot 1606011335070 dot 18195 at monopod dot intra dot ispras dot ru>
On Wed, 1 Jun 2016, Alexander Monakov wrote:
> Hi,
>
> On Wed, 1 Jun 2016, Richard Biener wrote:
> > 2016-06-01 Richard Biener <rguenther@suse.de>
> >
> > * match.pd ((A & B) - (A & ~B) -> B - (A ^ B)): Add missing :c.
> > (relational patterns): Use :c to avoid pattern duplications.
>
> Should the same treatment be applied to recently added IFN_MUL_OVERFLOW
> patterns (lines 2625-2643 in current match.pd)?
Ah, yeah - I missed those appearantly.
Richard.