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

--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jeff Law <l...@gcc.gnu.org>:

https://gcc.gnu.org/g:88d16194d0c8a6bdc2896c8944bfbf3e6038c9d2

commit r15-2196-g88d16194d0c8a6bdc2896c8944bfbf3e6038c9d2
Author: Jeff Law <j...@ventanamicro.com>
Date:   Mon Jul 22 08:45:10 2024 -0600

    [NFC][PR rtl-optimization/115877] Avoid setting irrelevant bit groups as
live in ext-dce

    Another patch to refine liveness computations.  This should be NFC and is
    designed to help debugging.

    In simplest terms the patch avoids setting bit groups outside the size of a
    pseudo as live.  Consider a HImode pseudo, bits 16..63 for such a pseudo
don't
    really have meaning, yet we often set bit groups related to bits 16.63 on
in
    the liveness bitmaps.

    This makes debugging harder than it needs to be by simply having larger
bitmaps
    to verify when walking through the code in a debugger.

    This has been bootstrapped and regression tested on x86_64.  It's also been
    tested on the crosses in my tester without regressions.

    Pushing to the trunk,

            PR rtl-optimization/115877
    gcc/
            * ext-dce.cc (group_limit): New function.
            (mark_reg_live): Likewise.
            (ext_dce_process_sets): Use new functions.
            (ext_dce_process_uses): Likewise.
            (ext_dce_init): Likewise.

Reply via email to