Commits on Source (4)
-
Rodrigo Mesquita authored
See Note [DCmmGroup vs CmmGroup or: Deterministic Info Tables] and Note [Object determinism] cmm: Back LabelMap with UDFM Use a deterministic unique map to back the implementation of `LabelMap`. This is necessary towards the goal of object code determinism in #12935. Our intended solution requires renaming uniques in a deterministic order (which will be the order in which they were created), but storing them label map makes us lose this order. Backing it with a UDFM fixes this issue. Introduce back LabelMap non deterministic Use NonDeterministic Label map in multiple passes (TODO: More could be available. Look through Det LabelMap uses again) Use NonDet for CFG More NonDet More explicit Introduce DCmmDecl, start Removing more maps
Verifiedb756c6b7 -
Rodrigo Mesquita authored
This unique was leaking as part of the profiling description in info tables when profiling was enabled
Verified776543ea -
Rodrigo Mesquita authoredVerified879263c1
-
Rodrigo Mesquita authoredVerifiedf446aa3c
Showing
- compiler/GHC/Cmm.hs 87 additions, 8 deletionscompiler/GHC/Cmm.hs
- compiler/GHC/Cmm/Dataflow/Graph.hs 21 additions, 20 deletionscompiler/GHC/Cmm/Dataflow/Graph.hs
- compiler/GHC/Cmm/Graph.hs 4 additions, 4 deletionscompiler/GHC/Cmm/Graph.hs
- compiler/GHC/Cmm/LayoutStack.hs 13 additions, 7 deletionscompiler/GHC/Cmm/LayoutStack.hs
- compiler/GHC/Cmm/Parser.y 2 additions, 2 deletionscompiler/GHC/Cmm/Parser.y
- compiler/GHC/Cmm/ThreadSanitizer.hs 2 additions, 1 deletioncompiler/GHC/Cmm/ThreadSanitizer.hs
- compiler/GHC/CmmToAsm/Reg/Liveness.hs 2 additions, 2 deletionscompiler/GHC/CmmToAsm/Reg/Liveness.hs
- compiler/GHC/Driver/GenerateCgIPEStub.hs 7 additions, 3 deletionscompiler/GHC/Driver/GenerateCgIPEStub.hs
- compiler/GHC/Driver/Main.hs 10 additions, 8 deletionscompiler/GHC/Driver/Main.hs
- compiler/GHC/Stg/Debug.hs 5 additions, 4 deletionscompiler/GHC/Stg/Debug.hs
- compiler/GHC/StgToCmm.hs 8 additions, 7 deletionscompiler/GHC/StgToCmm.hs
- compiler/GHC/StgToCmm/CgUtils.hs 2 additions, 1 deletioncompiler/GHC/StgToCmm/CgUtils.hs
- compiler/GHC/StgToCmm/Monad.hs 8 additions, 9 deletionscompiler/GHC/StgToCmm/Monad.hs
- compiler/GHC/StgToCmm/Utils.hs 3 additions, 3 deletionscompiler/GHC/StgToCmm/Utils.hs
- compiler/GHC/Types/IPE.hs 3 additions, 2 deletionscompiler/GHC/Types/IPE.hs
- compiler/GHC/Types/Name.hs 2 additions, 4 deletionscompiler/GHC/Types/Name.hs
- compiler/GHC/Types/Unique/DFM.hs 33 additions, 2 deletionscompiler/GHC/Types/Unique/DFM.hs
- compiler/GHC/Utils/Outputable.hs 4 additions, 0 deletionscompiler/GHC/Utils/Outputable.hs
- testsuite/tests/regalloc/regalloc_unit_tests.hs 3 additions, 1 deletiontestsuite/tests/regalloc/regalloc_unit_tests.hs
- testsuite/tests/wasm/should_run/control-flow/LoadCmmGroup.hs 1 addition, 1 deletiontestsuite/tests/wasm/should_run/control-flow/LoadCmmGroup.hs