> On Fri, Apr 20, 2012 at 11:24 AM, Jan Hubicka wrote:
> >> >
> >> > The original motivation to do switch conversion early was to get function
> >> > bodies smaller (i.e. when inlining the static var don't need
> >> > duplication, the
> >> > switch code does)
> >> >
> >> > This was motivated by r
On Fri, Apr 20, 2012 at 11:24 AM, Jan Hubicka wrote:
>> >
>> > The original motivation to do switch conversion early was to get function
>> > bodies smaller (i.e. when inlining the static var don't need duplication,
>> > the
>> > switch code does)
>> >
>> > This was motivated by real world exampl
> >
> > The original motivation to do switch conversion early was to get function
> > bodies smaller (i.e. when inlining the static var don't need duplication,
> > the
> > switch code does)
> >
> > This was motivated by real world examples, i.e. mesa that inlines function
> > converting
> > error
On Fri, Apr 20, 2012 at 10:52 AM, Jan Hubicka wrote:
>> On Thu, Apr 19, 2012 at 5:16 PM, Steven Bosscher
>> wrote:
>> > Hello,
>> >
>> > If we want to use profiling to expand switches in GIMPLE, we'll have
>> > to run switch-conversion after profiling.
>> >
>> > Bootstrapped and tested on x86_64
> On Thu, Apr 19, 2012 at 5:16 PM, Steven Bosscher
> wrote:
> > Hello,
> >
> > If we want to use profiling to expand switches in GIMPLE, we'll have
> > to run switch-conversion after profiling.
> >
> > Bootstrapped and tested on x86_64-unknown-linux-gnu. OK?
>
> That's too early still. Profile
On Thu, Apr 19, 2012 at 5:16 PM, Steven Bosscher wrote:
> Hello,
>
> If we want to use profiling to expand switches in GIMPLE, we'll have
> to run switch-conversion after profiling.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu. OK?
That's too early still. Profile data is not read unti