diff options
author | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-06-24 18:17:54 -0300 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-06-24 18:17:54 -0300 |
commit | e778bf0fc6f0d6e15f81976b4fc461337ef63146 (patch) | |
tree | eaf785c4178ef215762e30c69bbd45c91440e017 /gcc/fortran | |
parent | 3fd18ee6041651747fc70aba4d7afd3fc8c48bc4 (diff) | |
download | gcc-e778bf0fc6f0d6e15f81976b4fc461337ef63146.zip gcc-e778bf0fc6f0d6e15f81976b4fc461337ef63146.tar.gz gcc-e778bf0fc6f0d6e15f81976b4fc461337ef63146.tar.bz2 |
Merge small partitions.
Current partitioner seems to create one huge partitions and several
other small partitions. This commit improves the partitioning
algorithm by merging small partitions together. It also avoids wasting
time partitioning if the program size is `small'. Note that small here
is subjective.
gcc/ChangeLog:
2020-06-24 Giuliano Belinassi <giuliano.belinassi@usp.br>
* cgraphunit.c (ipa_passes): Assert for non-empty partition.
* lto-partition.c: Remove currrent_working_partition.
(add_symbol_to_partition): Remove useless check.
(lto_max_no_alonevap_map): Use an heuristic to merge small
partitions. Also fix creation of empty partitions.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions