On Wed, 2017-08-02 at 13:20 +0200, Martin Liška wrote: > Hello. > > After some discussions with Honza, I've decided to convert current > code in stmt.c that > is responsible for switch expansion. More precisely, I would like to > convert the code > to expand gswitch statements on tree level. Currently the newly > created pass is executed > at the end of tree optimizations. > > My plan for future is to inspire in [1] and come up with some more > sophisticated switch > expansions. For that I've been working on a paper where I'll > summarize statistics based > on what I've collected in openSUSE distribution with specially > instrumented GCC. If I'll be > happy I can also fit in to schedule of this year's Cauldron with a > talk. > > Patch can bootstrap on ppc64le-redhat-linux and survives regression > tests. > > Thoughts? > Martin > > [1] https://www.nextmovesoftware.com/technology/SwitchOptimization.pd > f > > gcc/ChangeLog: > > 2017-07-31 Martin Liska <mli...@suse.cz> > [...]
> * gimple-switch-low.c: New file. Shouldn't new files have a .cc suffix these days? [...]