On 11/9/2021 4:15 AM, Aldy Hernandez wrote:
This is a minor cleanup for maybe_register_path to return NULL when
the path is unprofitable.  It is needed for a follow-up patch to
generate better dumps from the threader.

There is no change in behavior, since the only call to this function
bails on !profitable_path_p.

Tested on x86-64 Linux.

OK?

gcc/ChangeLog:

        * tree-ssa-threadbackward.c (back_threader::maybe_register_path):
        Return NULL when unprofitable.
OK
jeff

Reply via email to