diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-08 16:46:18 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-08 16:46:18 +0000 |
commit | 50ba0cad07a4bf488c48d401d04b8ced7f39f630 (patch) | |
tree | c2cbdda2703ae2ef2cd29bf2ad23bf0a190b8d81 /gcc/params.def | |
parent | 85bab85fbbfceb6928ea43a3d01d33b181589e17 (diff) | |
download | gcc-50ba0cad07a4bf488c48d401d04b8ced7f39f630.tar.gz |
PR middle-end/48636
* ipa-inline.c (big_speedup_p): New function.
(want_inline_small_function_p): Use it.
(edge_badness): Dump it.
* params.def (inline-min-speedup): New parameter.
* doc/invoke.texi (inline-min-speedup): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193331 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index c801c617294..42cf2eb3123 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -46,6 +46,11 @@ DEFPARAM (PARAM_PREDICTABLE_BRANCH_OUTCOME, "Maximal estimated outcome of branch considered predictable", 2, 0, 50) +DEFPARAM (PARAM_INLINE_MIN_SPEEDUP, + "inline-min-speedup", + "The minimal estimated speedup allowing inliner to ignore inline-insns-single and inline-isnsns-auto", + 10, 0, 0) + /* The single function inlining limit. This is the maximum size of a function counted in internal gcc instructions (not in real machine instructions) that is eligible for inlining |