1. 13 Jul, 2016 1 commit
  2. 12 Jul, 2016 1 commit
    • Joachim Breitner's avatar
      Demand analyser: Implement LetUp rule (#12370) · 45d8f4eb
      Joachim Breitner authored
      This makes the implementation match the description in the paper more
      closely: There, a let binding that is not a function has first its body
      analised, and then the binding’s RHS. This way, the demand on the bound
      variable by the body can be fed into the RHS, yielding more precise
      results.
      
      Performance measurements do unfortunately not show significant
      improvements or regessions.
      
      Differential Revision: https://phabricator.haskell.org/D2395
      45d8f4eb
  3. 11 Jul, 2016 2 commits
  4. 10 Jul, 2016 2 commits
    • Alan Zimmerman's avatar
      check-api-annotations utility loads by filename · 9a3df1f8
      Alan Zimmerman authored
      Previously it loaded by modulename, which prevented loading files with a
      Main module.
      9a3df1f8
    • Ben Gamari's avatar
      TysWiredIn: Use UniqFM lookup for built-in OccNames · f53d761d
      Ben Gamari authored
      Previously we would unpack the OccName into a String, then pattern match
      against this string. Due to the implementation of `unpackFS`, this
      actually unpacks the entire contents, even though we often only need to
      look at the first few characters.
      
      Here we take another approach: build a UniqFM with the known built-in
      OccNames, allowing us to use `FastString`'s hash-based comparison
      instead.
      
      Reviewers: simonpj, austin, simonmar
      
      Reviewed By: simonmar
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2385
      
      GHC Trac Issues: #12357
      f53d761d
  5. 09 Jul, 2016 1 commit
  6. 08 Jul, 2016 9 commits
  7. 07 Jul, 2016 8 commits
  8. 06 Jul, 2016 3 commits
  9. 05 Jul, 2016 13 commits
    • Moritz Angermann's avatar
      Adds x86_64-apple-darwin14 target. · f560a03c
      Moritz Angermann authored
      x86_64-apple-darwin14, is the target for the 64bit simulator.
      Ideally, we'd have (i386|armv7|arm64|x64_86)-apple-ios, yet,
      many #ifdefs depend on `darwin`, notably libffi. Hence, this only adds
      x86_64-apple-darwin14 as a target. This also updates the comment to
      add the `-S` flag, and dump the output to stdout; and adjusts the
      `datalayout` and `triple` values, as obtained through the method
      mentioned in the comment.
      
      Reviewers: hvr, erikd, austin, bgamari, simonmar
      
      Reviewed By: simonmar
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2378
      f560a03c
    • Misty De Meo's avatar
      Fix GetTime.c on Darwin with clock_gettime · b7b130c5
      Misty De Meo authored
      On Darwin versions with clock_gettime, #ifdefs will prevent the
      mach-specific time functions from being used in most places, and
      the mach time headers won't be included; however, this section
      was guarded incorrectly and would still try to use them.
      
      Fixes #12195.
      b7b130c5
    • niteria's avatar
      Remove varEnvElts · 1b058d4a
      niteria authored
      varEnvElts can introduce unnecessary nondeterminism
      and we can finally remove it, so that no one will use
      it by accident. If someone wants to use varEnvElts they
      should either use DVarEnv or use nonDetEltsUFM and document
      why it doesn't introduce nondeterminism.
      
      GHC Trac: #4012
      1b058d4a
    • niteria's avatar
      Kill varEnvElts in zonkEnvIds · 18b782e3
      niteria authored
      This localizes the nondeterminism that varEnvElts could
      have introduced, so that it's obvious that it's benign.
      
      Test Plan: ./validate
      
      Reviewers: simonpj, austin, bgamari
      
      Subscribers: thomie, simonmar
      
      Differential Revision: https://phabricator.haskell.org/D2390
      
      GHC Trac Issues: #4012
      18b782e3
    • niteria's avatar
      Document codegen nondeterminism · 27fc75b2
      niteria authored
      We don't care about bit-for-bit reproducibility, so
      I'm just documenting this as a possible source.
      
      GHC Trac: #4012
      27fc75b2
    • Simon Peyton Jones's avatar
      Test Trac #12133 · 6cedef01
      Simon Peyton Jones authored
      6cedef01
    • Simon Peyton Jones's avatar
      White space only · f2d36ead
      Simon Peyton Jones authored
      f2d36ead
    • Simon Peyton Jones's avatar
      Tidy up tidying · cbe30fda
      Simon Peyton Jones authored
      This is a tiny refactor, replacing an ad-hoc local function
      (TidyPgm.loookup_aux_id) with a solid global one (tidyVarOcc).
      cbe30fda
    • Simon Peyton Jones's avatar
      Make unique auxiliary function names in deriving · 895eefa8
      Simon Peyton Jones authored
      In deriving for Data, we make some auxiliary functions, but they
      didn't always get distinct names (Trac #12245).  This patch fixes
      it by using the same mechanism as for dictionary functions, namely
      chooseUniqueOccTc.
      
      Some assocated refactoring came along for the ride.
      895eefa8
    • Simon Peyton Jones's avatar
      Delete out-of-date comment · 5f79394f
      Simon Peyton Jones authored
      5f79394f
    • niteria's avatar
      Use DVarEnv for vectInfoVar · 55e43a6f
      niteria authored
      This makes sure that we don't introduce unnecessary
      nondeterminism from vectorization.
      
      Also updates dph submodule to reflect the change in types.
      
      GHC Trac: #4012
      55e43a6f
    • Simon Peyton Jones's avatar
      Extra ASSERTs for nameModule · 1267048e
      Simon Peyton Jones authored
      1267048e
    • Simon Peyton Jones's avatar
      Check generic-default method for ambiguity · 85aa6ef0
      Simon Peyton Jones authored
      Fixes Trac #7497 and #12151.   In some earlier upheaval I introduced
      a bug in the ambiguity check for genreric-default method.
      
      This patch fixes it.  But in fixing it I realised that the
      sourc-location of any such error message was bogus, so I fixed
      that too, which involved a slightly wider change; see the
      comments with TcMethInfo.
      85aa6ef0