diff options
Diffstat (limited to 'compiler/simplStg')
-rw-r--r-- | compiler/simplStg/StgCse.hs | 2 | ||||
-rw-r--r-- | compiler/simplStg/StgLiftLams.hs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/simplStg/StgCse.hs b/compiler/simplStg/StgCse.hs index fbccf80b64..386515ee27 100644 --- a/compiler/simplStg/StgCse.hs +++ b/compiler/simplStg/StgCse.hs @@ -78,7 +78,7 @@ Consider two unboxed sum terms: These two terms are not equal as they unarise to different unboxed tuples. However if we run StgCse before Unarise, it'll think the two terms (# 1 | #) are equal, and replace one of these with a binder to -the other. That's bad -- Trac #15300. +the other. That's bad -- #15300. Solution: do unarise first. diff --git a/compiler/simplStg/StgLiftLams.hs b/compiler/simplStg/StgLiftLams.hs index d46e641a5a..db85b994cf 100644 --- a/compiler/simplStg/StgLiftLams.hs +++ b/compiler/simplStg/StgLiftLams.hs @@ -18,7 +18,7 @@ import qualified StgLiftLams.Transformation as Transformation -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- $note -- See also the <https://ghc.haskell.org/trac/ghc/wiki/LateLamLift wiki page> --- and Trac #9476. +-- and #9476. -- -- The basic idea behind lambda lifting is to turn locally defined functions -- into top-level functions. Free variables are then passed as additional |