1. 16 Jan, 2020 6 commits
    • Sebastian Graf's avatar
      Revert "`exprOkForSpeculation` for Note [IO hack in the demand analyser]" · f6bf2ce8
      Sebastian Graf authored
      This reverts commit ce64b397 on the
      grounds of the regression it would introduce in a couple of packages.
      
      Fixes #17653.
      
      Also undoes a slight metric increase in #13701 introduced by that commit
      that we didn't see prior to !1983.
      
      Metric Decrease:
          T13701
      f6bf2ce8
    • Adam Wespiser's avatar
      replace dead html link (fixes #17661) · f416fe64
      Adam Wespiser authored
      f416fe64
    • John Ericson's avatar
      Remove special case case of bool during STG -> C-- · 1ff55226
      John Ericson authored
      Allow removing the no longer needed cgPrimOp, getting rid of a small a
      small layer violation too.
      
      Change which made the special case no longer needed was #6135 /
      6579a6c7, which dates back to 2013,
      making me feel better.
      1ff55226
    • John Ericson's avatar
      Get rid of OpDest · ee5d63f4
      John Ericson authored
      `OpDest` was basically a defunctionalization. Just turn the code that
      cased on it into those functions, and call them directly.
      ee5d63f4
    • John Ericson's avatar
      Handle TagToEnum in the same big case as the other primops · 22c0bdc3
      John Ericson authored
      Before, it was a panic because it was handled above. But there must have
      been an error in my reasoning (another caller?) because #17442 reported
      the panic was hit.
      
      But, rather than figuring out what happened, I can just make it
      impossible by construction. By adding just a bit more bureaucracy in the
      return types, I can handle TagToEnum in the same case as all the others,
      so the big case is is now total, and the panic is removed.
      
      Fixes #17442
      22c0bdc3
    • Sebastian Graf's avatar
      Better documentation for mkEtaWW [skip ci] · c5977d4d
      Sebastian Graf authored
      So that hopefully I understand it faster next time. Also got rid of the
      confusing `orig_expr`, which makes the call site in `etaExpand` look out
      of sync with the passed `n` (which is not the original `n`).
      c5977d4d
  2. 13 Jan, 2020 11 commits
  3. 08 Jan, 2020 3 commits
  4. 07 Jan, 2020 10 commits
  5. 06 Jan, 2020 2 commits
  6. 04 Jan, 2020 7 commits
  7. 01 Jan, 2020 1 commit