Re: [PATCH 1/3] MATCH: first of the value replacement moving from phiopt

2023-10-30 Thread Richard Biener
On Sun, Oct 29, 2023 at 5:41 PM Andrew Pinski wrote: > > This moves a few simple patterns that are done in value replacement > in phiopt over to match.pd. Just the simple ones which might show up > in other code. > > This allows some optimizations to happen even without depending > on sinking from

[PATCH 1/3] MATCH: first of the value replacement moving from phiopt

2023-10-29 Thread Andrew Pinski
This moves a few simple patterns that are done in value replacement in phiopt over to match.pd. Just the simple ones which might show up in other code. This allows some optimizations to happen even without depending on sinking from happening and in some cases where phiopt is not invoked (cond-1.c