[patch] Move lowering of switches to bit tests to GIMPLE

Oleg Endo oleg.endo@t-online.de
Sat Jul 21 13:18:00 GMT 2012


On Sat, 2012-07-21 at 15:12 +0200, Steven Bosscher wrote:
> On Sat, Jul 21, 2012 at 3:10 PM, Oleg Endo <oleg.endo@t-online.de> wrote:
> > to handle the "const << reg" case.  Or would it be better to make the
> > lshift_cheap_p try out more shifty things?
> 
> The simpler lshift_cheap stays, the better. It's already warty to have
> to look at rtx_cost in a GIMPLE pass.

OK, correction in the target code it'll be then :)

Cheers,
Oleg



More information about the Gcc-patches mailing list