https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855

--- Comment #54 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:9b7626383822799d60ea3c62e62e700f16337cd6

commit r15-3860-g9b7626383822799d60ea3c62e62e700f16337cd6
Author: Aldy Hernandez <al...@redhat.com>
Date:   Mon Aug 26 07:33:38 2024 +0200

    Remove recursion in simplify_control_stmt_condition_1 [PR114855].

    Remove some ad-hoc simplification code in the forward threader, as the
    call into the ranger in m_simplifier->simplify() will handle anything we
    can do manually in simplify_control_stmt_condition_1.

    In PR114855, DOM time is reduced from 120s to 92s (-23%) and overall
    compilation time from 235s to 205s (-12%).  The total thread count at -O1
is
    unchanged for the testcase.

    In our bootstrap .ii benchmark suite, I see we thread 3 threads less
    over all files at -O1.  At -O2, the backward threader picks up one more,
    for no difference over all.

            PR tree-optimization/114855

    gcc/ChangeLog:

            * tree-ssa-threadedge.cc: Remove unneeded recursion.

Reply via email to