Re: [Patch] Switch elimination pass for PR 54742

2014-09-26 Thread Sebastian Pop
Jeff Law wrote: > On 08/21/14 04:30, Richard Biener wrote: > >>It turns Jeff's jump-threading code in to a strange franken-pass of bits and > >>pieces of detection and optimisation, and would need some substantial > >>reworking to fit in with Jeff's changes last Autumn, but if it is more > >>likely

Re: [Patch] Switch elimination pass for PR 54742

2014-08-25 Thread Jeff Law
On 08/21/14 04:30, Richard Biener wrote: It turns Jeff's jump-threading code in to a strange franken-pass of bits and pieces of detection and optimisation, and would need some substantial reworking to fit in with Jeff's changes last Autumn, but if it is more likely to be acceptable for trunk then

Re: [Patch] Switch elimination pass for PR 54742

2014-08-22 Thread Sebastian Pop
Richard Biener wrote: > On Wed, Aug 20, 2014 at 10:29 PM, Sebastian Pop wrote: > > James Greenhalgh wrote: > >> On Tue, Aug 19, 2014 at 09:39:56PM +0100, Steve Ellcey wrote: > >> > Here is an official submission for the switch optimization described in > >> > PR 54742. I have addressed the format

Re: [Patch] Switch elimination pass for PR 54742

2014-08-21 Thread Richard Biener
On Thu, Aug 21, 2014 at 11:41 AM, James Greenhalgh wrote: > On Thu, Aug 21, 2014 at 09:57:56AM +0100, Richard Biener wrote: >> On Tue, Aug 19, 2014 at 10:39 PM, Steve Ellcey wrote: >> > Here is an official submission for the switch optimization described in >> > PR 54742. I have addressed the fo

Re: [Patch] Switch elimination pass for PR 54742

2014-08-21 Thread James Greenhalgh
On Thu, Aug 21, 2014 at 09:57:56AM +0100, Richard Biener wrote: > On Tue, Aug 19, 2014 at 10:39 PM, Steve Ellcey wrote: > > Here is an official submission for the switch optimization described in > > PR 54742. I have addressed the formatting/comment issues that were raised > > and also added a te

Re: [Patch] Switch elimination pass for PR 54742

2014-08-21 Thread Richard Biener
On Tue, Aug 19, 2014 at 10:39 PM, Steve Ellcey wrote: > Here is an official submission for the switch optimization described in > PR 54742. I have addressed the formatting/comment issues that were raised > and also added a test case based on comment #27 from PR 54742 and I fixed a > bug I found w

Re: [Patch] Switch elimination pass for PR 54742

2014-08-21 Thread Richard Biener
On Wed, Aug 20, 2014 at 10:29 PM, Sebastian Pop wrote: > James Greenhalgh wrote: >> On Tue, Aug 19, 2014 at 09:39:56PM +0100, Steve Ellcey wrote: >> > Here is an official submission for the switch optimization described in >> > PR 54742. I have addressed the formatting/comment issues that were ra

Re: [Patch] Switch elimination pass for PR 54742

2014-08-20 Thread Sebastian Pop
James Greenhalgh wrote: > On Tue, Aug 19, 2014 at 09:39:56PM +0100, Steve Ellcey wrote: > > Here is an official submission for the switch optimization described in > > PR 54742. I have addressed the formatting/comment issues that were raised > > and also added a test case based on comment #27 from

Re: [Patch] Switch elimination pass for PR 54742

2014-08-20 Thread James Greenhalgh
On Tue, Aug 19, 2014 at 09:39:56PM +0100, Steve Ellcey wrote: > Here is an official submission for the switch optimization described in > PR 54742. I have addressed the formatting/comment issues that were raised > and also added a test case based on comment #27 from PR 54742 and I fixed a > bug I

[Patch] Switch elimination pass for PR 54742

2014-08-19 Thread Steve Ellcey
Here is an official submission for the switch optimization described in PR 54742. I have addressed the formatting/comment issues that were raised and also added a test case based on comment #27 from PR 54742 and I fixed a bug I found while doing benchmarking with SPEC2006 (the perl benchmark was g