summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdam Sandberg Ericsson <adam@sandbergericsson.se>2022-02-14 14:53:20 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-16 05:29:43 -0500
commita6411d74ee742c6828c104f1328e6c60d00de993 (patch)
tree4e57ac7d637f2fbf346b3ca8f7eb841a6d8937aa /docs
parent316312ecd12831f22bd8f7a8aa229c045bbbbedc (diff)
downloadhaskell-a6411d74ee742c6828c104f1328e6c60d00de993.tar.gz
docs: mention -fprof-late-ccs in the release notes
And note which compiler version it was added in.
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/9.4.1-notes.rst3
-rw-r--r--docs/users_guide/profiling.rst2
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/users_guide/9.4.1-notes.rst b/docs/users_guide/9.4.1-notes.rst
index c29d00e9d7..42ba985a17 100644
--- a/docs/users_guide/9.4.1-notes.rst
+++ b/docs/users_guide/9.4.1-notes.rst
@@ -9,6 +9,9 @@ Compiler
- New :ghc-flag:`-Wredundant-strictness-flags` that checks for strictness flags
(``!``) applied to unlifted types, which are always strict.
+- New :ghc-flag:`-fprof-late-ccs` that adds automatic CCS annotations to all
+ top level functions *after* core optimisation have been run.
+
- A new type of plugin: defaulting plugins. These plugins can propose
defaults for ambiguous variables that would otherwise cause errors
just like the built-in defaulting mechanism.
diff --git a/docs/users_guide/profiling.rst b/docs/users_guide/profiling.rst
index 495d2b8db0..d68c056946 100644
--- a/docs/users_guide/profiling.rst
+++ b/docs/users_guide/profiling.rst
@@ -444,6 +444,8 @@ compiled program.
:reverse: -fno-prof-late-ccs
:category:
+ :since: 9.4.1
+
Adds an automatic ``SCC`` annotation to all top level bindings late in the core pipeline after
the optimizer has run. This means these cost centres will not interfere with core-level optimizations
and the resulting profile will be closer to the performance profile of an optimized non-profiled