summaryrefslogtreecommitdiff
path: root/compiler/prelude/PrelRules.hs
Commit message (Expand)AuthorAgeFilesLines
* Module hierarchy: StgToCmm (#13009)Sylvain Henry2019-09-101-2/+2
* Introduce a type for "platform word size", use it instead of IntÖmer Sinan Ağacan2019-08-061-10/+11
* Move 'Platform' to ghc-bootJohn Ericson2019-06-191-1/+1
* PrelRules: Don't break let/app invariant in shiftRuleBen Gamari2019-06-141-3/+22
* PrelRules: Ensure that string unpack/append rule fires with source notesBen Gamari2019-06-131-11/+18
* Use DeriveFunctor throughout the codebase (#15654)Krzysztof Gogolewski2019-06-121-4/+3
* Fix rewriting invalid shifts to errorsÖmer Sinan Ağacan2019-06-011-1/+4
* Update Trac ticket URLs to point to GitLabRyan Scott2019-03-151-8/+8
* Fix exprIsConApp_maybeSimon Peyton Jones2019-02-221-1/+1
* Make constructor wrappers inline only during the final phaseArnaud Spiwack2019-02-191-2/+2
* Error out of invalid Int/Word bit shiftsAlec Theriault2019-01-231-3/+2
* Prepare source-tree for base-4.13 MFP bumpHerbert Valerio Riedel2019-01-181-0/+2
* Careful tweaking to exprOkForSpeculationSimon Peyton Jones2018-12-071-2/+31
* Rename literal constructorsSylvain Henry2018-11-221-43/+43
* Comments about dataToTag# onlySimon Peyton Jones2018-10-121-1/+3
* Fix dataToTag# argument evaluationÖmer Sinan Ağacan2018-10-101-13/+0
* Fix constant-folding for Integer shiftsSimon Peyton Jones2018-09-261-9/+37
* Fix a constant folding ruleAndrey Mokhov2018-08-291-1/+1
* Refactor (~) to reduce the suerpclass stackSimon Peyton Jones2018-07-271-3/+3
* Fix PrelRules.caseRules to account for out-of-range tagsSimon Peyton Jones2018-07-251-19/+45
* Enhanced constant foldingSylvain Henry2018-06-161-9/+296
* Built-in Natural literals in CoreSylvain Henry2018-06-151-72/+148
* Comments onlySimon Peyton Jones2018-06-071-0/+4
* Algebraically simplify add/sub with carry/overflowSebastian Graf2018-05-151-1/+78
* Revert "Enhanced constant folding"Ben Gamari2018-04-161-296/+9
* Enhanced constant foldingSylvain Henry2018-04-131-9/+296
* Fix over-eager constant folding in bitIntegerSimon Peyton Jones2018-03-221-16/+36
* Fix seq# case of exprOkForSpeculationSimon Peyton Jones2018-03-201-1/+50
* Document missing dataToTag# . tagToEnum# ruleDavid Feuer2018-02-191-0/+13
* Fix utterly bogus TagToEnum rule in caseRulesSimon Peyton Jones2018-02-071-13/+26
* Don't apply dataToTag's caseRules for data familiesRyan Scott2018-02-031-2/+10
* Rmove a call to mkStatePrimTySimon Peyton Jones2017-12-191-3/+3
* Comments onlySimon Peyton Jones2017-10-031-8/+9
* PrelRules: Handle Int left shifts of more than word-size bitsBen Gamari2017-09-261-8/+14
* Add NOINLINE pragma to builtinRulesBen Gamari2017-09-251-0/+3
* compiler: introduce custom "GhcPrelude" PreludeHerbert Valerio Riedel2017-09-191-0/+2
* Canonicalise MonoidFail instances in GHCHerbert Valerio Riedel2017-09-091-1/+1
* Remove now redundant CPPHerbert Valerio Riedel2017-09-091-4/+0
* Fix order of PrelRuleBen Gamari2017-09-011-1/+1
* A bunch of typofixesGabor Greif2017-07-311-1/+1
* Re-engineer caseRules to add tagToEnum/dataToTagSimon Peyton Jones2017-04-281-82/+149
* No join-point from an INLINE function with wrong aritySimon Peyton Jones2017-03-171-1/+1
* Ensure that scrutinee constant folding wraps numbersSylvain Henry2017-01-231-31/+61
* Allow top-level string literals in Core (#8472)Takano Akio2017-01-201-18/+23
* Scrutinee Constant FoldingSylvain Henry2016-12-091-1/+56
* Turn divInt# and modInt# into bitwise operations when possibleTakano Akio2016-09-051-1/+20
* PrelRules: Fix constant folding for WordRemOpBen Gamari2016-03-201-1/+6
* Replace calls to `ptext . sLit` with `text`Jan Stolarek2016-01-181-1/+1
* Canonicalise `MonadPlus` instancesHerbert Valerio Riedel2016-01-011-6/+4
* Remove some redundant definitions/constraintsHerbert Valerio Riedel2015-12-311-1/+0