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

--- Comment #7 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:de1923f9f4d5344694c22ca883aeb15caf635734

commit r15-3128-gde1923f9f4d5344694c22ca883aeb15caf635734
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Aug 23 13:44:29 2024 +0200

    tree-optimization/116463 - complex lowering leaves around dead stmts

    Complex lowering generally replaces existing complex defs with
    COMPLEX_EXPRs but those might be dead when it can always refer to
    components from the lattice.  This in turn can pessimize followup
    transforms like forwprop and reassoc, the following makes sure to
    get rid of dead COMPLEX_EXPRs generated by using
    simple_dce_from_worklist.

            PR tree-optimization/116463
            * tree-complex.cc: Include tree-ssa-dce.h.
            (dce_worklist): New global.
            (update_complex_assignment): Add SSA def to the DCE worklist.
            (tree_lower_complex): Perform DCE.

Reply via email to