[Patch tree-ssa] RFC: Enable path threading for control variables (PR tree-optimization/54742).

Jeff Law law@redhat.com
Fri Oct 18 15:42:00 GMT 2013


On 10/18/13 05:05, James Greenhalgh wrote:
> On Fri, Oct 18, 2013 at 11:55:08AM +0100, Richard Biener wrote:
>> I suppose with Jeffs recent work on jump-threading through paths
>> this case in handled and the patch in this thread is obsolete or can
>> be reworked?
>
> Yes, this patch is now obsolete, Jeff's solution is much more
> elegant :-)
Not sure if I'd use the term elegant :-)  My solution is certainly more 
general though.  There's still a couple rounds of staging bits as I 
clean up the rough edges.

The need to store a full thread path to get SSA graph update correct in 
cases where we have a joiner block, followed by multiple threadable 
blocks without side effects, followed by a threadable block with side 
effects was unexpected.

Jeff



More information about the Gcc-patches mailing list