Skip to content
Snippets Groups Projects
  1. Nov 30, 2015
  2. Nov 25, 2015
  3. Nov 18, 2015
  4. Nov 14, 2015
  5. Nov 12, 2015
  6. Nov 11, 2015
    • Peter Trommler's avatar
      PPC nativeGen: fix shift right arithmetic > 31 bit · 9c8e7f81
      Peter Trommler authored and Ben Gamari's avatar Ben Gamari committed
      Arithmetic shift right of more than 31 bits yields
      zero for positive Int and -1 for negative Int. On
      PowerPC immediates greater than 31 are not allowed,
      so replace with a shift by 31 bits which gives the
      correct result.
      
      Fixes #10870
      9c8e7f81
  7. Nov 08, 2015
    • Joachim Breitner's avatar
      Call Arity: In "e x", the result of "x" is not shared · 1b1fab88
      Joachim Breitner authored and Ben Gamari's avatar Ben Gamari committed
      in contrast to "e (f x)", where CorePrep will turn it into "let y = f x
      in e x". So in
        let f = ...
        in e (f x)
      we know that f is called at most once, but in
        let f = ...
        in e f
      we do not know that.
      
      Previously Call Arity would assume that in "e x", "x" is evaluated at
      most once. This rarely would make a difference (the argument "x" is
      analized with an incoming arity of 0, so no eta-expansion would be done
      anyways), but of course this should still be fixed.
      
      This fixes #11064.
      
      Note the corresponding code dmdTransformThunkDmd in DmdAnal.
      1b1fab88
  8. Nov 05, 2015
  9. Nov 04, 2015
  10. Nov 02, 2015
  11. Oct 30, 2015
  12. Oct 27, 2015
  13. Oct 26, 2015
  14. Oct 22, 2015
Loading