Thanks Jakub for reminder, let me eliminate the dup pattern.

Pan

-----Original Message-----
From: Jakub Jelinek <[email protected]> 
Sent: Monday, October 14, 2024 8:05 PM
To: Richard Biener <[email protected]>
Cc: Li, Pan2 <[email protected]>; [email protected]; 
[email protected]; [email protected]; [email protected]; 
[email protected]; [email protected]
Subject: Re: [PATCH 2/4] Match: Support form 3 for vector signed integer SAT_SUB

On Sat, Oct 12, 2024 at 02:10:49PM +0200, Richard Biener wrote:
> > gcc/ChangeLog:
> >
> >         * match.pd: Add matching pattern for vector signed SAT_SUB form 3.

I now see
../../gcc/match.pd:3424:3 warning: duplicate pattern
 (cond^ (ne (imagpart (IFN_SUB_OVERFLOW:c@2 @0 @1)) integer_zerop)
  ^
../../gcc/match.pd:3397:3 warning: previous pattern defined here
 (cond^ (ne (imagpart (IFN_SUB_OVERFLOW@2 @0 @1)) integer_zerop)
  ^
(similar message on those 2 lines 5 more times).

That doesn't look correct.

        Jakub

Reply via email to