Re: [PATCH] unswitch most profitable condition first

2022-11-07 Thread Richard Biener via Gcc-patches
On Tue, 25 Oct 2022, Richard Biener wrote: > When doing the loop unswitching re-org we promised to followup > with improvements on the cost modeling. The following makes sure we > try to unswitch on the most profitable condition first. As most profitable > we pick the condition leading to the ed

[PATCH] unswitch most profitable condition first

2022-10-25 Thread Richard Biener via Gcc-patches
When doing the loop unswitching re-org we promised to followup with improvements on the cost modeling. The following makes sure we try to unswitch on the most profitable condition first. As most profitable we pick the condition leading to the edge with the highest profile count. Note the profile