ipa-inline.c (want_inline_small_function_p): Use INLINE_HINT_loop_iterations hint.
* ipa-inline.c (want_inline_small_function_p): Use INLINE_HINT_loop_iterations hint. From-SVN: r190999
This commit is contained in:
parent
588dbb1914
commit
7c99ab652a
@ -1,3 +1,8 @@
|
||||
2012-09-05 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* ipa-inline.c (want_inline_small_function_p): Use INLINE_HINT_loop_iterations
|
||||
hint.
|
||||
|
||||
2012-09-05 Andrew Pinski <apinski@cavium.com>
|
||||
|
||||
* optabs.c (emit_conditional_add): Correct comment about the arguments.
|
||||
|
@ -532,7 +532,8 @@ want_inline_small_function_p (struct cgraph_edge *e, bool report)
|
||||
Upgrade it to MAX_INLINE_INSNS_SINGLE when hints suggests that
|
||||
inlining given function is very profitable. */
|
||||
else if (!DECL_DECLARED_INLINE_P (callee->symbol.decl)
|
||||
&& growth >= ((hints & INLINE_HINT_indirect_call)
|
||||
&& growth >= ((hints & (INLINE_HINT_indirect_call
|
||||
| INLINE_HINT_loop_iterations))
|
||||
? MAX (MAX_INLINE_INSNS_AUTO,
|
||||
MAX_INLINE_INSNS_SINGLE)
|
||||
: MAX_INLINE_INSNS_AUTO))
|
||||
|
Loading…
x
Reference in New Issue
Block a user