[commit: ghc] master: Comments only (0a3c43f)

git at git.haskell.org git at git.haskell.org
Fri Jul 10 11:53:33 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/0a3c43fe8852a1f7fc5fcd104b56457811fa3912/ghc

>---------------------------------------------------------------

commit 0a3c43fe8852a1f7fc5fcd104b56457811fa3912
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Jul 10 12:52:50 2015 +0100

    Comments only


>---------------------------------------------------------------

0a3c43fe8852a1f7fc5fcd104b56457811fa3912
 compiler/simplCore/Simplify.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compiler/simplCore/Simplify.hs b/compiler/simplCore/Simplify.hs
index c6f115a..bd17361 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:



More information about the ghc-commits mailing list