re PR tree-optimization/86020 (Performance regression in Eigen geometry.cpp test starting with r248334)
PR tree-opt/86020 Revert: 2017-05-22 Jan Hubicka <hubicka@ucw.cz> * ipa-inline.c (edge_badness): Use inlined_time instead of inline_summaries->get. From-SVN: r267612
This commit is contained in:
parent
a9a32e564d
commit
be917808aa
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2019-01-05 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
PR tree-opt/86020
|
||||
Revert:
|
||||
2017-05-22 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* ipa-inline.c (edge_badness): Use inlined_time instead of
|
||||
inline_summaries->get.
|
||||
|
||||
2019-01-05 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* opts.c (enable_fdo_optimizations): Enable
|
||||
|
|
|
@ -1173,7 +1173,7 @@ edge_badness (struct cgraph_edge *edge, bool dump)
|
|||
overall_growth += 256 * 256 - 256;
|
||||
denominator *= overall_growth;
|
||||
}
|
||||
denominator *= inlined_time;
|
||||
denominator *= ipa_fn_summaries->get (caller)->self_size + growth;
|
||||
|
||||
badness = - numerator / denominator;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue