diff options
author | Jeff Law <law@redhat.com> | 2016-03-23 07:20:16 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2016-03-23 07:20:16 -0600 |
commit | 478baf913e79d1d3219b513b494943c830850593 (patch) | |
tree | a015e0e499c5e938dbce68a3de2ecabc309f489a /gcc/web.c | |
parent | b01e88e56b3ad6bf76c18500035bc4ed8ef036cd (diff) | |
download | gcc-478baf913e79d1d3219b513b494943c830850593.zip gcc-478baf913e79d1d3219b513b494943c830850593.tar.gz gcc-478baf913e79d1d3219b513b494943c830850593.tar.bz2 |
re PR tree-optimization/64058 (Performance degradation after r216304)
PR tree-optimization/64058
* tree-ssa-coalesce.c (struct coalesce_pair): Add new field
CONFLICT_COUNT.
(struct ssa_conflicts): Move up earlier in the file.
(conflicts_, var_map_): New static variables.
(initialize_conflict_count): New function to initialize the
CONFLICT_COUNT field for each conflict pair.
(compare_pairs): Lazily initialize the conflict count and use it
as the first tie-breaker.
(sort_coalesce_list): Add new arguments conflicts, map. Initialize
and wipe conflicts_ and map_ around the call to qsort. Remove
special case for 2 coalesce pairs.
* bitmap.c (bitmap_count_unique_bits): New function.
(bitmap_count_bits_in_word): New function, extracted from
bitmap_count_bits.
(bitmap_count_bits): Use bitmap_count_bits_in_word.
* bitmap.h (bitmap_count_unique_bits): Declare it.
From-SVN: r234425
Diffstat (limited to 'gcc/web.c')
0 files changed, 0 insertions, 0 deletions