Commit 86f46e39 by Christian Bruel

ipa-inline.c (can_inline_edge_p): Allow inlining of functions with same attributes.

* ipa-inline.c (can_inline_edge_p): Allow inlining of functions with
same attributes.

From-SVN: r222165
parent 37dc4579
2015-04-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
2015-04-17 Christian Bruel <christian.bruel@st.com>
* ipa-inline.c (can_inline_edge_p): Allow inlining of functions with
same attributes.
2015-04-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
* ira-color.c (setup_left_conflict_sizes_p): Do not process
node itself when computing left conflict subnode size.
......
......@@ -515,7 +515,7 @@ can_inline_edge_p (struct cgraph_edge *e, bool report,
else if (opt_for_fn (callee->decl, optimize_size)
< opt_for_fn (caller->decl, optimize_size)
|| (opt_for_fn (callee->decl, optimize)
>= opt_for_fn (caller->decl, optimize)))
> opt_for_fn (caller->decl, optimize)))
{
if (estimate_edge_time (e)
>= 20 + inline_edge_summary (e)->call_stmt_time)
......
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