Skip to content
Snippets Groups Projects
Commit 3339ed49 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

users-guide: Document deprecation of -funfolding-keeness-factor

See #15304.
parent 9f9fab15
No related branches found
No related tags found
No related merge requests found
......@@ -248,6 +248,13 @@ Compiler
default, as proposed in `GHC proposal #314
<https://github.com/ghc-proposals/ghc-proposals/pull/314>`_
- The ``-funfolding-keeness-factor`` flag has been deprecated as its scaling
strategy resulted in unreasonably large discounts in some cases (see
:ghc-ticket:`15304`). Users who previously used this flag to suggest
more aggressive inlining are advised to look at
:ghc-flag:`-funfolding-use-threshold=⟨n⟩` or use :pragma:`INLINE` pragmas to
more precisely force inlining.
GHCi
~~~~
......
......@@ -82,7 +82,6 @@
-fspecialize-aggressively
-fth
-ftype-function-depth
-funfolding-keeness-factor
-fuse-rpaths
-fversion-macros
-fvia-c
......
......@@ -1399,6 +1399,15 @@ by saying ``-fno-wombat``.
How eager should the compiler be to inline functions?
.. ghc-flag:: -funfolding-keeness-factor=⟨n⟩
:shortdesc: This has been deprecated in GHC 9.0.1.
:type: dynamic
:category:
This factor was deprecated in GHC 9.0.1. See :ghc-ticket:`15304` for
details. Users who need to control inlining should rather consider
:ghc-flag:`-funfolding-use-threshold=⟨n⟩`.
.. ghc-flag:: -funfolding-use-threshold=⟨n⟩
:shortdesc: *default: 80.* Tweak unfolding settings.
:type: dynamic
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment