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

--- Comment #2 from CVS 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:eb337d28c32b1b460cc85b3c00f8418ca535c77b

commit r13-6624-geb337d28c32b1b460cc85b3c00f8418ca535c77b
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Mar 7 11:04:55 2023 +0100

    tree-optimization/109046 - re-combine complex loads

    The following addresses PR109046 by adding an optimization to forwprop
    to combine a piecewise complex load to a complex load when there are
    no other uses of the components.  That's something useful in general and
    easier to do than avoiding the splitting in complex lowering.

    The testcase exercises both the manual and the complex lowering case.

            PR tree-optimization/109046
            * tree-ssa-forwprop.cc (pass_forwprop::execute): Combine
            piecewise complex loads.

            * gcc.dg/tree-ssa/forwprop-39.c: New testcase.

Reply via email to