Re: [PATCH] Group switch cases in switch lowering (PR tree-optimization/87205).

2018-09-05 Thread Martin Liška
On 09/05/2018 11:31 AM, Richard Biener wrote: > On Wed, Sep 5, 2018 at 10:31 AM Martin Liška wrote: >> >> Hi. >> >> It's beneficial to group cases before switch lowering machinery >> is making a decision what to do with a switch. >> >> Patch can bootstrap on ppc64le-redhat-linux and survives regre

Re: [PATCH] Group switch cases in switch lowering (PR tree-optimization/87205).

2018-09-05 Thread Richard Biener
On Wed, Sep 5, 2018 at 10:31 AM Martin Liška wrote: > > Hi. > > It's beneficial to group cases before switch lowering machinery > is making a decision what to do with a switch. > > Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. > > Ready to be installed? Hmm, do we wan

[PATCH] Group switch cases in switch lowering (PR tree-optimization/87205).

2018-09-05 Thread Martin Liška
Hi. It's beneficial to group cases before switch lowering machinery is making a decision what to do with a switch. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. Ready to be installed? Martin gcc/ChangeLog: 2018-09-04 Martin Liska PR tree-optimization/8