- 11 Feb, 2014 3 commits
-
-
Joachim Breitner authored
such as that of coerce.
-
Joachim Breitner authored
just like boxed type equalities.
-
Joachim Breitner authored
we want a rule "map coerce = coerce" to match the core generated for "map Age" (this is #2110).
-
- 10 Feb, 2014 5 commits
-
-
Joachim Breitner authored
-
Joachim Breitner authored
Some nice improvements on already succeeding test cases (#876, #7954 and #4267) Test #149 needed a little change, lest call arity causes a allocation change that we do not want to test here.
-
Joachim Breitner authored
This also sets precedence for testing internals of GHC directly, i.e. without trying to come up with Haskell code and observable effects. Let's see how that goes. I put all the tests (including those where the analysis could do better) in one file because starting the GHC API is quite slow.
-
Joachim Breitner authored
This analysis finds out if a let-bound expression with lower manifest arity than type arity is always called with more arguments, as in that case eta-expansion is allowed and often viable. The analysis is very much tailored towards the code generated when foldl is implemented via foldr; without this analysis doing so would be a very bad idea! There are other ways to improve foldr/builder-fusion to cope with foldl, if any of these are implemented then this step can probably be moved to -O2 to save some compilation times. The current impact of adding this phase is just below +2% (measured running GHC's "make").
-
eir@cis.upenn.edu authored
-
- 09 Feb, 2014 12 commits
-
-
Signed-off-by:
Richard Eisenberg <eir@cis.upenn.edu>
-
Signed-off-by:
Richard Eisenberg <eir@cis.upenn.edu>
-
eir@cis.upenn.edu authored
We should still have pattern synonyms in TH, though.
-
eir@cis.upenn.edu authored
-
eir@cis.upenn.edu authored
-
eir@cis.upenn.edu authored
-
eir@cis.upenn.edu authored
-
Herbert Valerio Riedel authored
These files are created during `./configure` and therefore by convention are expected to be removed by `make distclean`. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
This was causing `utils/ghctags/dist-install` to not get removed on `make clean` as `Stage1Only` was unset. So testing for `!= YES` is less fragile than testing for `== NO` in this case. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Gergő Érdi authored
-
Gergő Érdi authored
This also fixes the internal crash when using pattern synonyms in GHCi (#8749)
-
eir@cis.upenn.edu authored
This patch allows turning on ImpredicativeTypes while type-checking the code generated by GeneralizedNewtypeDeriving. It does this by adding a field ib_extensions to InstBindings, informing the type-checker what extensions should be enabled while type-checking the instance.
-
- 08 Feb, 2014 1 commit
-
-
Joachim Breitner authored
-
- 07 Feb, 2014 6 commits
-
-
eir@cis.upenn.edu authored
-
Joachim Breitner authored
the ConTag may be out of range (e.g. if the type constructor is imported via SOURCE and we don't know any of its data constructors); just return Nothing without complaining in that case. This fixes #8743.
-
Joachim Breitner authored
which only occurs when the instance being compiled is also present from a .hs-boot file.
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Austin Seipp authored
Following 298a25bd and #8722 as Peter mentioned, this probably isn't needed anymore. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Peter Trommler authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 06 Feb, 2014 3 commits
-
-
Krzysztof Gogolewski authored
Suggested by Gabor Greif on ghc-devs
-
Joachim Breitner authored
-
Herbert Valerio Riedel authored
Previously, the `http://`-protocol part was hardcoded in the URLs, causing the initial clone process to fall back to `http://` even when the ghc.git repo was cloned via one of the other 3 supported transport protocols. This is slightly related to #8545, as it will make it possible to e.g. git clone --recursive git://git.haskell.org/ghc and clone ghc.git including all submodules in one go (i.e. w/o `sync-all`), and w/o falling back to a different (hardwired) Git transport protocol for the submodules. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 05 Feb, 2014 2 commits
-
-
Krzysztof Gogolewski authored
-
Edward Z. Yang authored
Our old function for searching for sections could only deal with section names that were eight bytes or shorter; this patch adds support for long section names. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 04 Feb, 2014 2 commits
-
-
Krzysztof Gogolewski authored
type holes -> typed holes, reorder, minor changes
-
awson authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 03 Feb, 2014 2 commits
-
-
Jan Stolarek authored
End of Cmm pipeline used to be split into two alternative flows, depending on whether we did proc-point splitting or not. There was a lot of code duplication between these two branches. But it wasn't really necessary as the differences can be easily enclosed within an if-then-else. I observed no impact of this change on compilation performance.
-
Jan Stolarek authored
-
- 02 Feb, 2014 3 commits
-
-
Herbert Valerio Riedel authored
This tests various properties expected to hold for quotRem, divMod, div, mod, quot, and rem. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Jan Stolarek authored
-
Jan Stolarek authored
-
- 01 Feb, 2014 1 commit
-
-
Gabor Greif authored
-