Re: [PATCH v1] Match: Refactor the unsigned SAT_ADD match ADD_OVERFLOW pattern [NFC]

2024-11-27 Thread Richard Biener
On Mon, Nov 25, 2024 at 2:23 AM wrote: > > From: Pan Li > > This patch would like to refactor the unsigned SAT_ADD pattern when > leverage the IFN ADD_OVERFLOW, aka: > * Extract type check outside. > * Re-arrange the related match pattern forms together. > * Remove unnecessary helper pattern matc

[PATCH v1] Match: Refactor the unsigned SAT_ADD match ADD_OVERFLOW pattern [NFC]

2024-11-24 Thread pan2 . li
From: Pan Li This patch would like to refactor the unsigned SAT_ADD pattern when leverage the IFN ADD_OVERFLOW, aka: * Extract type check outside. * Re-arrange the related match pattern forms together. * Remove unnecessary helper pattern matches. The below test suites are passed for this patch.