1. 13 Apr, 2018 9 commits
    • Ryan Scott's avatar
      Fix #9438 by converting a panic to an error message · 7613a812
      Ryan Scott authored
      Previously, GHC was quite eager to panic whenever it was fed
      an archive file when `DYNAMIC_GHC_PROGRAMS=YES`. This ought to be an
      explicit error message instead, so this patch accomplishes just that.
      
      Test Plan: make test TEST=T14708
      
      Reviewers: Phyx, hvr, bgamari
      
      Reviewed By: Phyx
      
      Subscribers: thomie, carter
      
      GHC Trac Issues: #9438, #14708, #15032
      
      Differential Revision: https://phabricator.haskell.org/D4589
      7613a812
    • Matthew Pickering's avatar
      Remove unused function: mkFunCos · 6f623030
      Matthew Pickering authored
      Reviewers: goldfire, bgamari, dfeuer
      
      Reviewed By: dfeuer
      
      Subscribers: dfeuer, thomie, carter
      
      Differential Revision: https://phabricator.haskell.org/D4587
      6f623030
    • Andrey Mokhov's avatar
      Fix rts.cabal.in · f78df87c
      Andrey Mokhov authored
      On Windows the FFI library is called `libCffi-6` instead of `libCffi`.
      This needs to be reflected in `rts.cabal.in` as otherwise we cannot
      properly `copy` and `register` the RTS package on Windows.
      
      See https://github.com/snowleopard/hadrian/issues/567
      
      Test Plan: Build GHC using Hadrian. Make build system does not use
      `rts.cabal.in`.
      
      Reviewers: bgamari, erikd, simonmar, Phyx
      
      Reviewed By: Phyx
      
      Subscribers: thomie, carter
      
      Differential Revision: https://phabricator.haskell.org/D4590
      f78df87c
    • Andreas Klebinger's avatar
      Update JMP_TBL targets during shortcutting in X86 NCG. · 120a2617
      Andreas Klebinger authored
      Without updating the JMP_TBL information the block list in
      JMP_TBL contained blocks which were eliminated in some circumstances.
      
      The actual assembly generation doesn't look at these fields so this
      didn't cause any bugs yet. However as long as we carry this information
      around we should make an effort to keep it correct.
      
      Especially since it's useful for debugging purposes and can be used
      for passes near the end of the codegen pipeline.
      In particular it's used by jumpDestsOfInstr which without these changes
      returns the wrong destinations.
      
      Test Plan: ci
      
      Reviewers: bgamari
      
      Subscribers: thomie, carter
      
      Differential Revision: https://phabricator.haskell.org/D4566
      120a2617
    • Ömer Sinan Ağacan's avatar
      Fix processHeapClosureForDead CONSTR_NOCAF case: · a303584e
      Ömer Sinan Ağacan authored
      CONSTR_NOCAF was introduced with 55d535da as a replacement for
      CONSTR_STATIC and CONSTR_NOCAF_STATIC, however, as explained in Note
      [static constructors], we copy CONSTR_NOCAFs (which can also be seen in
      evacuate) during GC, and they can become dead, like other CONSTR_X_Ys.
      processHeapClosureForDead is updated to reflect this.
      
      Reviewers: bgamari, simonmar, erikd
      
      Subscribers: thomie, carter
      
      GHC Trac Issues: #7836
      
      Differential Revision: https://phabricator.haskell.org/D4567
      a303584e
    • Michal Terepeta's avatar
      Revert "CmmPipeline: add a second pass of CmmCommonBlockElim" · 78ff6e54
      Michal Terepeta authored
      This reverts commit d5c4d46a.
      
      Please see #14989 for details.
      
      Test Plan: ./validate
      
      Reviewers: bgamari, simonmar
      
      Subscribers: thomie, carter
      
      GHC Trac Issues: #14989
      
      Differential Revision: https://phabricator.haskell.org/D4577
      78ff6e54
    • Takenobu Tani's avatar
      users-guide: Update release notes and language extensions · f02309fe
      Takenobu Tani authored
      Update release notes and language extensions for GHC 8.6.1.
      
      * Add `BlockArguments` and `NumericUndescores` in release note
      * Fix directive for `HexFloatLiterals` and `NumericUndescores`
      
      Test Plan: build
      
      Reviewers: bgamari
      
      Reviewed By: bgamari
      
      Subscribers: thomie, carter
      
      Differential Revision: https://phabricator.haskell.org/D4579
      f02309fe
    • Ryan Scott's avatar
      Bump version numbers: base-4.11.1.0, integer-gmp-1.0.2.0 · c4814ab6
      Ryan Scott authored
      This takes care of bumping the `base` and `integer-gmp`
      minor version numbers in anticipation of a GHC 8.4.2 release.
      
      While I was in town, I also filled in a `@since TODO` Haddock
      annotation for `powModSecInteger` in `integer-gmp` with
      `1.0.2.0`, and updated the changelog accordingly.
      
      Test Plan: ./validate
      
      Reviewers: hvr, goldfire, bgamari
      
      Reviewed By: bgamari
      
      Subscribers: thomie, carter
      
      GHC Trac Issues: #15025
      
      Differential Revision: https://phabricator.haskell.org/D4586
      c4814ab6
    • Alan Zimmerman's avatar
      TTG for HsBinds and Data instances Plan B · b1386942
      Alan Zimmerman authored
      Summary:
      - Add the balance of the TTG extensions for hsSyn/HsBinds
      
      - Move all the (now orphan) data instances into hsSyn/HsInstances and
      use TTG Data instances Plan B
      https://ghc.haskell.org/trac/ghc/wiki/ImplementingTreesThatGrow/Instances#PLANB
      
      Updates haddock submodule.
      
      Illustrative numbers
      
      Compiling HsInstances before using Plan B.
      
      Max residency ~ 5G
      <<ghc: 629,864,691,176 bytes, 5300 GCs,
             321075437/1087762592 avg/max bytes residency (23 samples),
             2953M in use, 0.000 INIT (0.000 elapsed),
             383.511 MUT (384.986 elapsed), 37.426 GC (37.444 elapsed) :ghc>>
      
      Using Plan B
      
      Max residency 1.1G
      
      <<ghc: 78,832,782,968 bytes, 2884 GCs,
             222140352/386470152 avg/max bytes residency (34 samples),
             1062M in use, 0.001 INIT (0.001 elapsed),
             56.612 MUT (62.917 elapsed), 32.974 GC (32.923 elapsed) :ghc>>
      
      Test Plan: ./validate
      
      Reviewers: shayan-najd, goldfire, bgamari
      
      Subscribers: goldfire, thomie, mpickering, carter
      
      Differential Revision: https://phabricator.haskell.org/D4581
      b1386942
  2. 12 Apr, 2018 3 commits
  3. 11 Apr, 2018 4 commits
  4. 10 Apr, 2018 12 commits
  5. 09 Apr, 2018 3 commits
  6. 07 Apr, 2018 8 commits
  7. 06 Apr, 2018 1 commit