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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Aldy Hernandez <[email protected]>:

https://gcc.gnu.org/g:dc8aa54843e5813d046a8b2fc3758b9e4064425d

commit r17-3743-gdc8aa54843e5813d046a8b2fc3758b9e4064425d
Author: Aldy Hernandez <[email protected]>
Date:   Sat Aug 29 08:58:27 2026 +0000

    phiopt: remove early_p gate from cond replication [PR126896]

    As a follow-up suggested by Jeff, run replicate_conds_over_phis in
    early phiopt too instead of gating it on !early_p.

    Tested on ppc64le Linux.

            PR tree-optimization/126896

    gcc/ChangeLog:

            * tree-ssa-phiopt.cc (pass_phiopt::execute): Run
            replicate_conds_over_phis in early phiopt too.

    gcc/testsuite/ChangeLog:

            * gcc.dg/tree-ssa/dom-jump-threading-1.c: Disable phiopt1.
            * gcc.dg/tree-ssa/dom-jump-threading-2.c: Likewise.
            * gcc.dg/tree-ssa/phi_on_compare-1.c: Scan the phiopt1 dump.

Reply via email to