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

--- Comment #6 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:f387ff788f63c1974479644edae728047f843ec4

commit r12-3378-gf387ff788f63c1974479644edae728047f843ec4
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Sep 7 10:35:42 2021 +0200

    tree-optimization/101555 - avoid redundant alias queries in PRE

    This avoids doing redundant work during PHI translation to invalidate
    mems when translating their corresponding VUSE through the blocks
    virtual PHI node.  All the invalidation work is already done by
    prune_clobbered_mems.

    This speeds up the compile of the testcase from 275s with PRE
    taking 91% of the compile-time down to 43s with PRE taking 16%
    of the compile-time.

    2021-09-07  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/101555
            * tree-ssa-pre.c (translate_vuse_through_block): Do not
            perform an alias walk to determine the validity of the
            mem at the start of the block which is already guaranteed
            by means of prune_clobbered_mems.
            (phi_translate_1): Pass edge to translate_vuse_through_block.

Reply via email to