Re: [PATCH] tree-optimization/121844 - IVOPTs and asm goto in latch

2025-09-17 Thread Jakub Jelinek
On Mon, Sep 08, 2025 at 02:38:48PM +0200, Richard Biener wrote: > When there's an asm goto in the latch of a loop we may not use > IP_END IVs since instantiating those would (need to) split the > latch edge which in turn invalidates IP_NORMAL position handling. > This is a revision of the PR107997

[PATCH] tree-optimization/121844 - IVOPTs and asm goto in latch

2025-09-09 Thread Richard Biener
When there's an asm goto in the latch of a loop we may not use IP_END IVs since instantiating those would (need to) split the latch edge which in turn invalidates IP_NORMAL position handling. This is a revision of the PR107997 fix. Bootstrap and regtest running on x86_64-unknown-linux-gnu.

Re: [PATCH] tree-optimization/121844 - IVOPTs and asm goto in latch

2025-09-08 Thread Richard Biener
gt; This one is uninitialized, is that needed for the repro? > Can't it be e.g. argument to the function instead? Yes, both 'e' and 'f' can be made function args. I'll push the following. Richard. >From 3d777d03bb8c22204de1457cb2dae6a22fb2ed7a Mon Sep 17 00:00:00 2001 From: Richard Biener Da