Re: More backwards/FSM jump thread refactoring and extension

2016-05-24 Thread Jeff Law
On 05/24/2016 06:03 PM, Trevor Saunders wrote: On Tue, May 24, 2016 at 10:58:18AM -0600, Jeff Law wrote: --- a/gcc/tree-ssa-threadbackward.c +++ b/gcc/tree-ssa-threadbackward.c @@ -356,6 +356,44 @@ profitable_jump_thread_path (vec *&path, return taken_edge; } +/* PATH is vector of blocks f

Re: More backwards/FSM jump thread refactoring and extension

2016-05-24 Thread Trevor Saunders
On Tue, May 24, 2016 at 10:58:18AM -0600, Jeff Law wrote: > --- a/gcc/tree-ssa-threadbackward.c > +++ b/gcc/tree-ssa-threadbackward.c > @@ -356,6 +356,44 @@ profitable_jump_thread_path (vec > *&path, >return taken_edge; > } > > +/* PATH is vector of blocks forming a jump threading path in r

More backwards/FSM jump thread refactoring and extension

2016-05-24 Thread Jeff Law
Here's the next patch which does a bit more refactoring in the backwards jump threader and extends the backwards jump threader to handle simple copies and constant initializations. The extension isn't all that useful right now -- while it does fire often during bootstraps, its doing so for cas