Re: [PATCH] Make switchconv smarter.

2021-02-16 Thread Martin Liška
On 2/16/21 12:30 AM, Jeff Law wrote: Given this is "just" a missed optimization, are we deferring to gcc-12? Yes. Thanks, Martin

Re: [PATCH] Make switchconv smarter.

2021-02-15 Thread Jeff Law via Gcc-patches
On 12/18/20 6:19 AM, Martin Liška wrote: > The patch covers 2 cases mentioned in the PR. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin > > gcc/ChangeLog: > > PR tree-optimization/94779 > * tree-switch-conversion.c

Re: [PATCH] Make switchconv smarter.

2020-12-21 Thread Martin Liška
On 12/18/20 2:19 PM, Martin Liška wrote: The patch covers 2 cases mentioned in the PR. I've got a discussion with Jakub on IRC about the patch and he sees 2 more optimizations: 1) using VRP information (from ranger) - I'm leaving that to him, or I can return to it in the next stage 1 2) cons