aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-iterator.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2023-04-21 15:46:38 +0200
committerJan Hubicka <jh@suse.cz>2023-04-21 15:46:38 +0200
commit68c0df8da73cf46e29834cc825f488f4d6b33f98 (patch)
tree9d685a791deb6e14b3fa9298f4734786ffdfc7b2 /gcc/gimple-iterator.h
parentb5c3abcd77cbca6b2d921fa2f7d21a52e5a36080 (diff)
downloadgcc-68c0df8da73cf46e29834cc825f488f4d6b33f98.zip
gcc-68c0df8da73cf46e29834cc825f488f4d6b33f98.tar.gz
gcc-68c0df8da73cf46e29834cc825f488f4d6b33f98.tar.bz2
Stabilize inliner
The Fibonacci heap can change its behaviour quite significantly for no good reasons when multiple edges with same key occurs. This is quite common for small functions. This patch stabilizes the order by adding edge uids into the info. Again I think this is good idea regardless of the incremental WPA project since we do not want random changes in inline decisions. gcc/ChangeLog: 2023-04-21 Jan Hubicka <hubicka@ucw.cz> Michal Jires <michal@jires.eu> * ipa-inline.cc (class inline_badness): New class. (edge_heap_t, edge_heap_node_t): Use inline_badness for badness instead of sreal. (update_edge_key): Update. (lookup_recursive_calls): Likewise. (recursive_inlining): Likewise. (add_new_edges_to_heap): Likewise. (inline_small_functions): Likewise.
Diffstat (limited to 'gcc/gimple-iterator.h')
0 files changed, 0 insertions, 0 deletions