summaryrefslogtreecommitdiff
path: root/compiler/simplCore/Simplify.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-07-10 12:52:50 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2015-07-10 12:54:13 +0100
commit0a3c43fe8852a1f7fc5fcd104b56457811fa3912 (patch)
tree30a29e3bfeea50388680dc4613f21e2213a96acb /compiler/simplCore/Simplify.hs
parent6f1c0766943cdb9a567c0e2b9d41c5e73c2ff5bc (diff)
downloadhaskell-0a3c43fe8852a1f7fc5fcd104b56457811fa3912.tar.gz
Comments only
Diffstat (limited to 'compiler/simplCore/Simplify.hs')
-rw-r--r--compiler/simplCore/Simplify.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/simplCore/Simplify.hs b/compiler/simplCore/Simplify.hs
index c6f115a8d2..bd17361a6a 100644
--- a/compiler/simplCore/Simplify.hs
+++ b/compiler/simplCore/Simplify.hs
@@ -2797,6 +2797,8 @@ Other choices:
When x is inlined into its full context, we find that it was a bad
idea to have pushed the outer case inside the (...) case.
+There is a cost to not doing case-of-case; see Trac #10626.
+
Note [Single-alternative-unlifted]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here's another single-alternative where we really want to do case-of-case: