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
+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
overall_growth += 256 * 256 - 256;
denominator *= overall_growth;
}
- denominator *= inlined_time;
+ denominator *= ipa_fn_summaries->get (caller)->self_size + growth;
badness = - numerator / denominator;