aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.cc
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro.com>2024-07-22 08:45:10 -0600
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:44 +0200
commit5a3562e3873d5b6ce6fce30ae84e6f80b047ed1b (patch)
tree1ae40856204d523975875c9dd52fd030034428cf /gcc/cp/tree.cc
parent8ea8acf54495c11348e104ecc5a5353e33359aa6 (diff)
downloadgcc-5a3562e3873d5b6ce6fce30ae84e6f80b047ed1b.zip
gcc-5a3562e3873d5b6ce6fce30ae84e6f80b047ed1b.tar.gz
gcc-5a3562e3873d5b6ce6fce30ae84e6f80b047ed1b.tar.bz2
[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.
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions