[Git][ghc/ghc][wip/romes/12935] TEMPORARY(DROP-ME): Try CI on object-determinism by default

Rodrigo Mesquita (@alt-romes) gitlab at gitlab.haskell.org
Mon Sep 16 12:22:25 UTC 2024



Rodrigo Mesquita pushed to branch wip/romes/12935 at Glasgow Haskell Compiler / GHC


Commits:
bdec61b8 by Rodrigo Mesquita at 2024-09-16T13:22:18+01:00
TEMPORARY(DROP-ME): Try CI on object-determinism by default

- - - - -


2 changed files:

- compiler/GHC/Driver/Config/StgToCmm.hs
- compiler/GHC/Driver/Main.hs


Changes:

=====================================
compiler/GHC/Driver/Config/StgToCmm.hs
=====================================
@@ -53,7 +53,7 @@ initStgToCmmConfig dflags mod = StgToCmmConfig
   , stgToCmmExtDynRefs    = gopt Opt_ExternalDynamicRefs   dflags
   , stgToCmmDoBoundsCheck = gopt Opt_DoBoundsChecking      dflags
   , stgToCmmDoTagCheck    = gopt Opt_DoTagInferenceChecks  dflags
-  , stgToCmmObjectDeterminism = gopt Opt_ObjectDeterminism dflags
+  , stgToCmmObjectDeterminism = not (gopt Opt_ObjectDeterminism dflags)
 
   -- backend flags:
 


=====================================
compiler/GHC/Driver/Main.hs
=====================================
@@ -2250,7 +2250,7 @@ doCodeGen hsc_env this_mod denv data_tycons
               -- Cmm was renamed. Update all the symbols by renaming them with
               -- the renaming map in that case.
               (_drn, rn_denv)
-                | gopt Opt_ObjectDeterminism dflags = detRenameIPEMap detRnEnv denv
+                | not (gopt Opt_ObjectDeterminism dflags) = detRenameIPEMap detRnEnv denv
                 | otherwise = (detRnEnv, denv)
 
           cmmCgInfos <- generateCgIPEStub hsc_env this_mod rn_denv (nonCaffySet, lf_infos, ipes, ipe_stats)



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bdec61b8e5d7f83ce8ae722a83563366b2287b6f
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/20240916/22e90189/attachment-0001.html>


More information about the ghc-commits mailing list