[Git][ghc/ghc][wip/T22010] Fix whitespace and allow regression on i386

Jaro Reinders (@Noughtmare) gitlab at gitlab.haskell.org
Mon Jun 26 10:02:16 UTC 2023



Jaro Reinders pushed to branch wip/T22010 at Glasgow Haskell Compiler / GHC


Commits:
5f631a45 by Jaro Reinders at 2023-06-26T12:02:11+02:00
Fix whitespace and allow regression on i386

Metric Increase:
    CoOpt_Read
    CoOpt_Singletons
    LargeRecord
    ManyAlternatives
    ManyConstructors
    MultiComponentModules
    MultiLayerModulesTH_OneShot
    RecordUpdPerf
    T10421
    T10547
    T12150
    T12227
    T12234
    T12425
    T12707
    T13035
    T13056
    T13253
    T13253-spj
    T13379
    T13386
    T13719
    T14683
    T14766
    T15164
    T15703
    T16577
    T16875
    T17516
    T18140
    T18223
    T18282
    T18304
    T18698a
    T18698b
    T18923
    T1969
    T19695
    T20049
    T21839c
    T3064
    T3294
    T4801
    T5030
    T5321FD
    T5321Fun
    T5631
    T5642
    T5837
    T6048
    T783
    T8095
    T9020
    T9198
    T9233
    T9630
    T9675
    T9872a
    T9872b
    T9872b_defer
    T9872c
    T9872d
    T9961
    TcPlugin_RewritePerf
    UniqLoop
    WWRec
    hard_hole_fits

- - - - -


1 changed file:

- compiler/GHC/HsToCore/Match/Literal.hs


Changes:

=====================================
compiler/GHC/HsToCore/Match/Literal.hs
=====================================
@@ -400,11 +400,11 @@ warnAboutEmptyEnumerations fam_envs dflags fromExpr mThnExpr toExpr
       platform <- targetPlatform <$> getDynFlags
          -- Be careful to use target Int/Word sizes! cf #17336
       if | same tc intTyConName     -> case platformWordSize platform of
-                                             PW4 -> check @Int32
-                                             PW8 -> check @Int64
+                                         PW4 -> check @Int32
+                                         PW8 -> check @Int64
          | same tc wordTyConName    -> case platformWordSize platform of
-                                             PW4 -> check @Word32
-                                             PW8 -> check @Word64
+                                         PW4 -> check @Word32
+                                         PW8 -> check @Word64
          | same tc int8TyConName    -> check @Int8
          | same tc int16TyConName   -> check @Int16
          | same tc int32TyConName   -> check @Int32



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5f631a45011a6c193012dc4f997fea1351f988bc

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5f631a45011a6c193012dc4f997fea1351f988bc
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/20230626/c7dbbba4/attachment-0001.html>


More information about the ghc-commits mailing list