Cleanup back_threader::find_path_to_names.
commit98b212c19a7b8822a93407af548df45c15917695
authorAldy Hernandez <aldyh@redhat.com>
Thu, 4 Nov 2021 18:44:15 +0000 (4 19:44 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Sat, 6 Nov 2021 13:11:58 +0000 (6 14:11 +0100)
treec403489e72b2f0706f5331dcdbbd89fcb705a0f4
parent851dff042a238f9ba566468ac6934f878a9e5ac5
Cleanup back_threader::find_path_to_names.

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.

gcc/ChangeLog:

* tree-ssa-threadbackward.c (back_threader::find_paths_to_names):
Remove gotos and other cleanups.
gcc/tree-ssa-threadbackward.c