diff options
author | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-07-02 12:17:32 -0300 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-07-02 12:17:32 -0300 |
commit | cb0047f1fe1988b8cbc41467b340814e2560d7c1 (patch) | |
tree | f238c10927ab7d91223c6d6587bde79ec66366ec /gcc/fortran/iresolve.c | |
parent | 6e9a06040d56058918f313ca067f6597565d5651 (diff) | |
download | gcc-cb0047f1fe1988b8cbc41467b340814e2560d7c1.zip gcc-cb0047f1fe1988b8cbc41467b340814e2560d7c1.tar.gz gcc-cb0047f1fe1988b8cbc41467b340814e2560d7c1.tar.bz2 |
Implement new partitioning algorithm
Previously, we tried to follow strictly how add_symbol_to_partition
behaves when adding nodes to decide when to merge them. This new
partitioner takes some freedom to explore this, promoting statics
to globals, for performance.
We also comment some assertions which might require future proper fixes.
gcc/ChangeLog
2020-07-02 Giuliano Belinassi <giuliano.belinassi@usp.br>
* cgraphunit.c (ipa_passes): Call lto_merge_comdat_map.
* ipa-cp.c (initialize_node_lattices): Comment assertion for now.
* ipa-profile.c (ipa_propagate_frequency): Comment assertion for now.
* lto-partition.c (merge_comdat_nodes): New function.
(privatize_symbol_name_1): New argument wpa.
(privatize_symbol_name): Check if in WPA mode.
(lto_merge_comdat_map): New function.
* lto-partition.h: Declare lto_merge_comdat_map.
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions