summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Maurer <maurer.benjamin@gmail.com>2021-01-29 06:18:53 -0500
committerBenjamin Maurer <maurer.benjamin@gmail.com>2021-01-29 06:18:53 -0500
commit6fe8d50a34a594749cf32f44cfb3c2627753def7 (patch)
tree23a4ef6e6e032252798dda894e1f1f011a33013d
parent5140841ca1acaeaeef893233ae3d08ce4573b01b (diff)
downloadhaskell-ghc-9.0-docfix-fregs-graph.tar.gz
Fix description of -fregs-graph (not implied by -O2, linked issue was closed)ghc-9.0-docfix-fregs-graph
-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 403faa342e..5a29c4191d 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.