This project is mirrored from https://github.com/haskell/hoopl. Pull mirroring updated .
  1. 03 Dec, 2015 1 commit
    • Ben Gamari's avatar
      Guard redundant equations · 5405469b
      Ben Gamari authored
      GHC's exhaustiveness checker used to be quite rudimentary. As of GHC
      8.0 we have a new exhaustiveness checker which correctly recognizes the
      cases covered by these equations as invalid.
      5405469b
  2. 01 Nov, 2015 1 commit
  3. 31 Oct, 2015 2 commits
  4. 17 Oct, 2015 1 commit
  5. 09 Aug, 2015 1 commit
  6. 08 Aug, 2015 3 commits
  7. 12 Jul, 2015 1 commit
    • Michal Terepeta's avatar
      test/Simplify: don't crash on divide by zero · 4dccb474
      Michal Terepeta authored
      Currently test/Simplify would not check for 0 before trying to do
      constant folding, which is quite bad since it simply crashes the
      program.
      
      The fix is to simply avoid evaluating the expression if there is a
      division by zero.
      4dccb474
  8. 05 Jul, 2015 1 commit
    • Michal Terepeta's avatar
      Fix dead code elimination used in tests · 782ffec3
      Michal Terepeta authored
      The helper functions to fold over instructions and expressions in
      test/OptSupport have a bug where they would not recurse for complex
      expressions. And since testing/Live module depends on it, complex
      expressions would not be fully analyzed, leading to removal of code
      that is *not* dead, e.g.,
        var1 = m[0]
        var1 = m[var1] + m[var1]
      would get rewritten to just
        var1 = m[var1] + m[var1]
      which is clearly wrong.
      
      Note that this bug affects only Hoopl's tests.
      782ffec3
  9. 30 Jun, 2015 2 commits
    • Michal Terepeta's avatar
      Fix parsing of memory accesses in tests · 19526cc2
      Michal Terepeta authored
      Apparently the current parser would fail on any memory accesses, both
      loads and stores. In case of the former it's enough to try parsing the
      memory accesses before variables. For stores, we can use backtracking
      so that we don't consume the initial "m" of memory assignemnt thinking
      that it's a variable identifier.
      19526cc2
    • Michal Terepeta's avatar
      Test: crash on errors · cda3ec8d
      Michal Terepeta authored
      Previously Test would only print any errors (e.g., parsing errors).
      Now it'll simply crash, making the failure obvious.
      cda3ec8d
  10. 07 Jun, 2015 2 commits
  11. 31 May, 2015 2 commits
  12. 29 May, 2015 2 commits
  13. 06 May, 2015 6 commits
  14. 05 May, 2015 3 commits
  15. 27 Apr, 2015 3 commits
  16. 25 Apr, 2015 2 commits
  17. 24 Apr, 2015 1 commit
  18. 16 Apr, 2015 1 commit
    • AndreasVoellmy's avatar
      Bump version · 54e47868
      AndreasVoellmy authored
      Bump version so we can release on hackage. The 3rd digit is updated
      since this version re-exports a function (expanding the interface)
      from Compiler.Hoopl.
      54e47868
  19. 15 Apr, 2015 1 commit
  20. 14 Apr, 2015 3 commits
  21. 06 Jan, 2015 1 commit