Re: [PATCH] Remove path_range_query constructor that takes an edge.

2022-08-19 Thread Richard Biener via Gcc-patches
On Thu, Aug 18, 2022 at 6:13 PM Aldy Hernandez wrote: > > The path_range_query constructor that takes an edge is really a > convenience function for the loop-ch pass. It feels wrong to pollute > the API with such a specialized function that could be done with > a small inline function closer to

[PATCH] Remove path_range_query constructor that takes an edge.

2022-08-18 Thread Aldy Hernandez via Gcc-patches
The path_range_query constructor that takes an edge is really a convenience function for the loop-ch pass. It feels wrong to pollute the API with such a specialized function that could be done with a small inline function closer to its user. As an added benefit, we remove one use of reset_path.