Re: [PATCH] vect: Don't retry if the previous analysis fails

2023-05-21 Thread Kewen.Lin via Gcc-patches
on 2023/5/17 14:32, Richard Biener wrote: > On Wed, May 17, 2023 at 8:06 AM Kewen.Lin wrote: >> >> Hi, >> >> When working on a cost tweaking patch, I found that a newly >> added test case has different dumpings with stage-1 and >> bootstrapped gcc. By looking into it, the apparent reason >> is

Re: [PATCH] vect: Don't retry if the previous analysis fails

2023-05-17 Thread Richard Biener via Gcc-patches
On Wed, May 17, 2023 at 8:06 AM Kewen.Lin wrote: > > Hi, > > When working on a cost tweaking patch, I found that a newly > added test case has different dumpings with stage-1 and > bootstrapped gcc. By looking into it, the apparent reason > is vect_analyze_loop_2 doesn't get

[PATCH] vect: Don't retry if the previous analysis fails

2023-05-17 Thread Kewen.Lin via Gcc-patches
Hi, When working on a cost tweaking patch, I found that a newly added test case has different dumpings with stage-1 and bootstrapped gcc. By looking into it, the apparent reason is vect_analyze_loop_2 doesn't get slp_done_for_suggested_uf set expectedly, the following retrying will use the