Skip to content
Snippets Groups Projects
  1. Jan 04, 2017
  2. Dec 23, 2016
    • Ben Gamari's avatar
      UniqSupply: Use full range of machine word · b85dc18f
      Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
      Currently uniques are 32-bits wide. 8 of these bits are for the unique
      class, leaving only 24 for the unique number itself. This seems
      dangerously small for a large project. Let's use the full range of the
      native machine word.
      
      We also add (now largely unnecessary) overflow check to ensure that the
      unique number doesn't overflow.
      
      Test Plan: Validate
      
      Reviewers: simonmar, austin, niteria
      
      Reviewed By: niteria
      
      Subscribers: mpickering, thomie
      
      Differential Revision: https://phabricator.haskell.org/D2844
      
      GHC Trac Issues: #12944
      
      (cherry picked from commit 0d213c18)
      b85dc18f
    • Ben Gamari's avatar
      Revert "nativeGen: Allow -fregs-graph to be used" · 55dfd21e
      Ben Gamari authored
      This reverts commit 6a5d13c4 due to
      breakage on PPC AIX while compiling unordered-containers. See #13033.
      55dfd21e
  3. Dec 18, 2016
  4. Dec 17, 2016
  5. Dec 16, 2016
  6. Dec 15, 2016
  7. Dec 13, 2016
  8. Dec 02, 2016
  9. Nov 29, 2016
  10. Nov 20, 2016
    • Ben Gamari's avatar
      Merge cpe_ExprIsTrivial and exprIsTrivial · 58d9f9b7
      Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
      Strangely my previous attempts at resolving this all seemed to end in
      perplexing segmentation faults in the GHC testsuite (including some
      rather recent attempts). Somehow this attempt miraculously works.
      
      However, there was one wrinkle that I still need to work out fully: we
      need to consider Lits as non-trivial in cpeArg. Failure to do this means
      that we would transform something like,
      
          $trModule = TrModule "HelloWorld"#
      
      into
      
          $trModule = case "HelloWorld"# of x { __DEFAULT -> TrModule x }
      
      Which then fails the consistentStgInfo check in CoreToStg for reasons
      that I am still trying to work out.
      
      Mark T12757 as fixed
      
      Reviewers: simonmar, simonpj, austin
      
      Reviewed By: simonpj
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2666
      
      GHC Trac Issues: #11158
      
      (cherry picked from commit 967dd5c9)
      58d9f9b7
  11. Nov 19, 2016
  12. Nov 18, 2016
  13. Nov 17, 2016
    • Edward Z. Yang's avatar
      Remove fancy shadowing logic; always override in package database order. · b5b9cf3a
      Edward Z. Yang authored
      
      This is a stopgap fix for GHC 8.0 bug #12485: in particular,
      it relaxes need for -package-db flags to be given in
      dependency order.  The trade-off is that we are a lot more
      unsafe when there are packages with duplicate 'id's in
      the database stack: the new code will not do an ABI compatibility
      check: if two packages have the same 'id', they are assumed to
      be ABI compatible.  If this is not true, GHC may build
      segfaulting executables.
      
      Missing test updates, but I'm putting it up so people can
      take a look.
      
      In GHC 8.2, we'll record ABIs for all dependencies, allowing
      GHC to make better decisions about shadowing.
      
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      
      Test Plan: validate
      
      Reviewers: austin, niteria, bgamari, simonmar
      
      Reviewed By: simonmar
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2613
      
      GHC Trac Issues: #12485
    • Facundo Domínguez's avatar
      Have reify work for local variables with functional dependencies. · e7c12cda
      Facundo Domínguez authored and Ben Gamari's avatar Ben Gamari committed
      It turned out that finalizers were run too early and information
      resulting from simplifying constraints was not available.
      
      This patch runs finalizers after a first call to simplifyTop, and
      then calls simplifyTop a second time to deal with constraints
      that could result from running the finalizers.
      
      Fixes T12777
      
      Test Plan: ./validate
      
      Reviewers: goldfire, simonpj, bgamari, austin
      
      Reviewed By: simonpj
      
      Subscribers: mpickering, mboes, thomie
      
      Differential Revision: https://phabricator.haskell.org/D2659
      
      GHC Trac Issues: #12777
      
      (cherry picked from commit 231a3ae1)
      e7c12cda
  14. Nov 16, 2016
  15. Nov 15, 2016
  16. Nov 14, 2016
  17. Nov 11, 2016
    • Ben Gamari's avatar
      ghc-pkg: Munge dynamic library directories · e7017ca8
      Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
      Otherwise we end up looking in the wrong place for dynamic libraries on
      Windows. This addresses a regression introduced by D2611. See #12479.
      
      Test Plan: validate across platforms
      
      Reviewers: austin
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2640
      
      GHC Trac Issues: #12479
      
      (cherry picked from commit 75e69edb498511cf2b28dec4e14e6d11232f3e32)
      e7017ca8
    • David Feuer's avatar
      Read parentheses better · cca8ceec
      David Feuer authored
      Instead of pulling a token and looking for `'('` or `')'`,
      just look for the character itself. This prevents us from
      lexing every single item twice, once to see if it's a
      left parenthesis and once to actually parse it.
      
      Partially fixes #12665
      
      Test Plan: Validate
      
      Reviewers: austin, bgamari, hvr
      
      Reviewed By: bgamari
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2623
      
      GHC Trac Issues: #12665
      cca8ceec
Loading