[Git][ghc/ghc][wip/T24251a] Wibble Note

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Fri Mar 22 17:12:07 UTC 2024



Simon Peyton Jones pushed to branch wip/T24251a at Glasgow Haskell Compiler / GHC


Commits:
46173fdb by Simon Peyton Jones at 2024-03-22T17:11:50+00:00
Wibble Note

- - - - -


1 changed file:

- compiler/GHC/Core/Opt/CSE.hs


Changes:

=====================================
compiler/GHC/Core/Opt/CSE.hs
=====================================
@@ -773,7 +773,7 @@ isEvaldSoon (v1,v2) expr
   where
     hit :: Var -> Bool
     hit v = v==v1 || v==v2
-
+l
     go (Var v)    = hit v
     go (Let _ e)  = go e
     go (Tick _ e) = go e
@@ -842,6 +842,9 @@ turning K2 into 'x' increases the number of live variables.  But
 * The next run of the simplifier will turn 'x' back into K2, so we won't
   permanently bloat the free-var count.
 
+Note [Eliminating redundant cases]
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Still to be written... TODO
 
 Note [Combine case alternatives]
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/46173fdb2a0260206bf588267b21c4cad220529d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/46173fdb2a0260206bf588267b21c4cad220529d
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240322/5a6790da/attachment-0001.html>


More information about the ghc-commits mailing list