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: Alexander Monakov <amonakov at ispras dot ru>
- To: Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 1 Jun 2016 13:37:37 +0300 (MSK)
- 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>
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)?
Thanks.
Alexander