summaryrefslogtreecommitdiff
path: root/compiler/simplCore/Exitify.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/simplCore/Exitify.hs')
-rw-r--r--compiler/simplCore/Exitify.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/simplCore/Exitify.hs b/compiler/simplCore/Exitify.hs
index 40c7374f15..53434bf107 100644
--- a/compiler/simplCore/Exitify.hs
+++ b/compiler/simplCore/Exitify.hs
@@ -386,4 +386,7 @@ To prevent inlining, we check for that in `preInlineUnconditionally` directly.
For `postInlineUnconditionally` and unfolding-based inlining, the function
`simplLetUnfolding` simply gives exit join points no unfolding, which prevents
this kind of inlining.
+
+In the `final` run of the simplifier, we do allow inlining of exit join points,
+via a `SimplifierMode` flag.
-}