diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-10-06 17:05:26 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-08 05:12:58 -0400 |
commit | 0a26f9e8e4714d547b8c20d2d5ce1ba0644316bf (patch) | |
tree | 2e11ee61838909917801c4091df0f5addd94d4f7 /docs | |
parent | 180cf1775f4d5fd97814ec87a1d2a8235f0a8152 (diff) | |
download | haskell-0a26f9e8e4714d547b8c20d2d5ce1ba0644316bf.tar.gz |
users-guide: Document -fworker-wrapper
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/using-optimisation.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/users_guide/using-optimisation.rst b/docs/users_guide/using-optimisation.rst index a7bec151e6..a8fd5e2d39 100644 --- a/docs/users_guide/using-optimisation.rst +++ b/docs/users_guide/using-optimisation.rst @@ -1250,6 +1250,17 @@ by saying ``-fno-wombat``. determines if a function definition will be kept around at all for potential inlining. +.. ghc-flag:: -fworker-wrapper + :shortdesc: Enable the worker-wrapper transformation. + :type: dynamic + :category: + + Enable the worker-wrapper transformation after a strictness + analysis pass. Implied by :ghc-flag:`-O`, and by :ghc-flag:`-fstrictness`. + Disabled by :ghc-flag:`-fno-strictness`. Enabling :ghc-flag:`-fworker-wrapper` + while strictness analysis is disabled (by :ghc-flag:`-fno-strictness`) + has no effect. + .. ghc-flag:: -fbinary-blob-threshold=⟨n⟩ :shortdesc: *default: 500K.* Tweak assembly generator for binary blobs. :type: dynamic |