Re: [PATCH] tree-optimization/86270 - improve SSA coalescing for loop exit test

2025-02-13 Thread Richard Biener
On Thu, 13 Feb 2025, Richard Biener wrote: > On Wed, 12 Feb 2025, Andrew Pinski wrote: > > > On Wed, Feb 12, 2025 at 4:04 AM Richard Biener wrote: > > > > > > The PR indicates a very specific issue with regard to SSA coalescing > > > failures because there's a pre IV increment loop exit test. W

Re: [PATCH] tree-optimization/86270 - improve SSA coalescing for loop exit test

2025-02-13 Thread Richard Biener
On Wed, 12 Feb 2025, Andrew Pinski wrote: > On Wed, Feb 12, 2025 at 4:04 AM Richard Biener wrote: > > > > The PR indicates a very specific issue with regard to SSA coalescing > > failures because there's a pre IV increment loop exit test. While > > IVOPTs created the desired IL we later simplify

Re: [PATCH] tree-optimization/86270 - improve SSA coalescing for loop exit test

2025-02-12 Thread Andrew Pinski
On Wed, Feb 12, 2025 at 4:04 AM Richard Biener wrote: > > The PR indicates a very specific issue with regard to SSA coalescing > failures because there's a pre IV increment loop exit test. While > IVOPTs created the desired IL we later simplify the exit test into > the undesirable form again. Th

[PATCH] tree-optimization/86270 - improve SSA coalescing for loop exit test

2025-02-12 Thread Richard Biener
The PR indicates a very specific issue with regard to SSA coalescing failures because there's a pre IV increment loop exit test. While IVOPTs created the desired IL we later simplify the exit test into the undesirable form again. The following fixes this up during RTL expansion where we try to im