[PATCH] tree-optimization/103188 - avoid running ranger on not-up-to-date SSA
Thu Nov 11 17:09:01 GMT 2021
Like this. It simplifies both loop-ch and the threader.
I'll push this pending tests unless someone objects.
On Thu, Nov 11, 2021 at 5:43 PM Aldy Hernandez <firstname.lastname@example.org> wrote:
> Thanks for doing this!
> > + gimple_ranger *ranger = new gimple_ranger;
> > + path_range_query *query = new path_range_query (*ranger, /*resolve=*/true);
> Hmmm, it looks like both clients are now instantiating a gimple_ranger
> just so they can pass it down to the path_range_query. Maybe we
> should have another ctor with just:
> path_range_query (bool resolve);
> ...and have it allocate its own ranger.
> Does this seem like a useful improvement? For that matter, resolve
> should default to true. The option is only there so the backward
> threader can run in a "light" mode (early threading, etc).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8552 bytes
Desc: not available
More information about the Gcc-patches