On 11/5/2021 2:44 PM, Aldy Hernandez wrote:
On Fri, Nov 5, 2021 at 9:06 PM Jeff Law <jeffreya...@gmail.com> wrote:


On 11/5/2021 9:09 AM, Aldy Hernandez wrote:
The main path discovery function was due for a cleanup.  First,
there's a nagging goto and second, my bitmap use was sloppy.  Hopefully
this makes the code easier for others to read.

Regstrapped on x86-64 Linux.  I also made sure there were no difference
in the number of threads with this patch.

No functional changes.

OK?

gcc/ChangeLog:

       * tree-ssa-threadbackward.c (back_threader::find_paths_to_names):
       Remove gotos and other cleanups.
I should have looked closer.  The recursive call happens after you have already tested "done", so yea, removing the return value is trivial.

V2 is OK for the turnk.


Jeff

Reply via email to