summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Maurer <maurer.benjamin@gmail.com>2021-01-29 06:18:53 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-30 14:14:17 -0500
commiteb90d23911ee10868dc2c7cc27a8397f0ae9b41d (patch)
treead121b5bf6aec8519fb92eefb896988221a4092e
parenta3d995fa18079ac31623febc8f41297c9acfb6a5 (diff)
downloadhaskell-eb90d23911ee10868dc2c7cc27a8397f0ae9b41d.tar.gz
Fix description of -fregs-graph (not implied by -O2, linked issue was closed)
-rw-r--r--docs/users_guide/using-optimisation.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/users_guide/using-optimisation.rst b/docs/users_guide/using-optimisation.rst
index 06ac89c0c2..d450fce141 100644
--- a/docs/users_guide/using-optimisation.rst
+++ b/docs/users_guide/using-optimisation.rst
@@ -747,7 +747,7 @@ by saying ``-fno-wombat``.
.. ghc-flag:: -fregs-graph
:shortdesc: Use the graph colouring register allocator for register
- allocation in the native code generator. Implied by :ghc-flag:`-O2`.
+ allocation in the native code generator.
:type: dynamic
:reverse: -fno-regs-graph
:category:
@@ -760,9 +760,6 @@ by saying ``-fno-wombat``.
The downside being that the linear register allocator usually generates
worse code.
- Note that the graph colouring allocator is a bit experimental and may fail
- when faced with code with high register pressure :ghc-ticket:`8657`.
-
.. ghc-flag:: -fregs-iterative
:shortdesc: Use the iterative coalescing graph colouring register allocator
in the native code generator.