diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2025-07-12 17:57:25 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@ucw.cz> | 2025-07-12 17:58:03 +0200 |
commit | f3186568d09c02a6d8915e43c0f5d7df704dfa0d (patch) | |
tree | d86035a290538acbfcf6ad3075c569aa19d59f1a /gcc/ada/libgnat/s-mmosin__unix.adb | |
parent | 8f304b3873733df4ad8767b5e085ddcb79d5e9d6 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
This patch fixes minor things that has cumulated in my tree. Except for
formating fixes an important change is that seen set is now kept up to date.
Oriignal code first populated it for all string in the string table but now
gimple matching may introduce new ones that needs to be checked for match with
symbol table as well.
This makes imagemagic of spec2017 to be faster with auto-fdo then without at
least when trained with ref run. Train run has problem since it does not train
the innermost loop at all, so even with normal PGO it is slower then without.
autorpfoiledbootstrapped/regtested x86_64-linux, comitted.
gcc/ChangeLog:
* auto-profile.cc (function_instance::~function_instance):
Move down in source.
(string_table::get_cgraph_node): New member function with
logic broken out from ...
(function_instance::get_cgraph_node): ... here.
(match_with_target): Fix formating.
(function_instance::match): Fix formating; do not use iterators
after modifying map; remove incorrect set of warned flag.
(autofdo_source_profile::offline_external_functions): Keep
seen set up to date.
(function_instance::read_function_instance): Fix formating.
Diffstat (limited to 'gcc/ada/libgnat/s-mmosin__unix.adb')
0 files changed, 0 insertions, 0 deletions