Skip to content
Snippets Groups Projects
  1. Oct 05, 2018
    • Ryan Scott's avatar
      Be mindful of GADT tyvar order when desugaring record updates · 0af55c12
      Ryan Scott authored
      After commit ef26182e,
      the type variable binders in GADT constructor type signatures
      are now quantified in toposorted order, instead of always having
      all the universals before all the existentials. Unfortunately, that
      commit forgot to update some code (which was assuming the latter
      scenario) in `DsExpr` which desugars record updates. This wound
      up being the cause of #15499.
      
      This patch makes up for lost time by desugaring record updates in
      a way such that the desugared expression applies type arguments to
      the right-hand side constructor in the correct order—that is, the
      order in which they were quantified by the user.
      
      Test Plan: make test TEST=T15499
      
      Reviewers: simonpj, bgamari
      
      Reviewed By: simonpj
      
      Subscribers: rwbarton, carter
      
      GHC Trac Issues: #15499
      
      Differential Revision: https://phabricator.haskell.org/D5060
      
      (cherry picked from commit 63b6a1d4)
      0af55c12
    • Tamar Christina's avatar
      Drop accidental write-attributes request · a2e3334c
      Tamar Christina authored and Ben Gamari's avatar Ben Gamari committed
      Summary:
      The new filesystem code accidentally asks for write attributes
      permissions when doing read-only access.
      
      I believe this is what's causing the GHC 8.6.1 tarballs to fail
      when installed to a privileged location.
      I haven't been able to reproduce the issue yet, but this permission
      bit is wrong anyway.
      
      Test Plan: I'm still trying to workout how to test that this works,
      changing the permissions on the folder doesn't seem to reproduce
      the error on a tarball I made from before the change.
      
      Reviewers: bgamari, tdammers
      
      Reviewed By: bgamari
      
      Subscribers: tdammers, monoidal, rwbarton, carter
      
      GHC Trac Issues: #15667
      
      Differential Revision: https://phabricator.haskell.org/D5177
      
      (cherry picked from commit deceb21b)
      a2e3334c
    • Ben Gamari's avatar
      Bump array submodule · bf256ef2
      Ben Gamari authored
      bf256ef2
    • Kavon Farvardin's avatar
      Multiple fixes / improvements for LLVM backend · 73273be4
      Kavon Farvardin authored and Ben Gamari's avatar Ben Gamari committed
      - Fix for #13904 -- stop "trashing" callee-saved registers, since it is
        not actually doing anything useful.
      
      - Fix for #14251 -- fixes the calling convention for functions passing
        raw SSE-register values by adding padding as needed to get the values
        in the right registers. This problem cropped up when some args were
        unused an dropped from the live list.
      
      - Fixed a typo in 'readnone' attribute
      
      - Added 'lower-expect' pass to level 0 LLVM optimization passes to
        improve block layout in LLVM for stack checks, etc.
      
      Test Plan: `make test WAYS=optllvm` and `make test WAYS=llvm`
      
      Reviewers: bgamari, simonmar, angerman
      
      Reviewed By: angerman
      
      Subscribers: rwbarton, carter
      
      GHC Trac Issues: #13904, #14251
      
      Differential Revision: https://phabricator.haskell.org/D5190
      
      (cherry picked from commit adcb5fb4)
      73273be4
    • Ben Gamari's avatar
      testsuite: Don't force run of llvm ways in T14251 · 4338398f
      Ben Gamari authored
      This breaks if LLVM is not available.
      
      (cherry picked from commit d0d74842)
      4338398f
    • Ben Gamari's avatar
      Add testcase for #14251 · 94cadce6
      Ben Gamari authored
      (cherry picked from commit ba086ca7)
      94cadce6
  2. Sep 21, 2018
  3. Sep 20, 2018
  4. Sep 19, 2018
  5. Sep 18, 2018
  6. Sep 16, 2018
  7. Sep 13, 2018
Loading