Commit be917808 by Jan Hubicka Committed by Jan Hubicka

re PR tree-optimization/86020 (Performance regression in Eigen geometry.cpp test…

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
parent a9a32e56
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
version-loops-for-strides, loop-interchange, unrol-and-jam
and tree-loop-distribution.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment