Commit bf2b9ccc authored by Simon Jakobi's avatar Simon Jakobi Committed by Ben Gamari

Update Note [Documenting optimisation flags]

parent 88f06d41
......@@ -4344,16 +4344,11 @@ impliedXFlags
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
-- If you change the list of flags enabled for particular optimisation levels
-- please remember to update the User's Guide. The relevant files are:
-- please remember to update the User's Guide. The relevant file is:
--
-- docs/users_guide/using-optimisation.rst
--
-- The first contains the Flag Reference section, which briefly lists all
-- available flags. The second contains a detailed description of the
-- flags. Both places should contain information whether a flag is implied by
-- -O0, -O or -O2.
--
-- (See #6087 about adding -flate-dmd-anal in this list)
-- Make sure to note whether a flag is implied by -O0, -O or -O2.
optLevelFlags :: [([Int], GeneralFlag)]
optLevelFlags -- see Note [Documenting optimisation flags]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment