summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/Opt/ConstantFold.hs
Commit message (Expand)AuthorAgeFilesLines
* Take account of loop breakers in specLookupRuleSimon Peyton Jones2023-01-301-1/+1
* Refactor mkRuntimeErrorSimon Peyton Jones2022-12-221-1/+1
* Implement UNPACK support for sum types.Madeline Haraj2022-11-141-1/+1
* Type vs Constraint: finally nailedSimon Peyton Jones2022-11-111-31/+25
* Export pprTrace and friends from GHC.Prelude.Andreas Klebinger2022-11-031-1/+0
* Enable popcount rewrite rule when cross-compilingSylvain Henry2022-10-251-1/+1
* Fix typosEric Lindblad2022-09-141-3/+3
* Minor cleanupKrzysztof Gogolewski2022-09-011-2/+2
* Purge `DynFlags` and `HscEnv` from some `GHC.Core` modules where it's not too...wip/dflags-core-opt-easierJohn Ericson2022-05-311-2/+3
* Change `Backend` type and remove direct dependencieswip/backend-as-recordNorman Ramsey2022-05-211-2/+2
* Drop the app invariantghc-9.5-startJoachim Breitner2022-04-091-5/+5
* Fix a few Note inconsistenciesBen Gamari2022-02-011-6/+5
* warnPprTrace: pass separately the reasonKrzysztof Gogolewski2022-01-111-1/+1
* Use primOpIds cache more often (#20857)Sylvain Henry2022-01-061-10/+11
* Fix typosKrzysztof Gogolewski2021-12-251-2/+2
* Compare types of recursive let-bindings in alpha-equivalenceChristiaan Baaij2021-11-251-6/+3
* Fix Int64ToInt/Word64ToWord rules on 32-bit architecturesSylvain Henry2021-11-061-8/+8
* Add missing Int64/Word64 constant-folding rulesSylvain Henry2021-11-061-0/+16
* Bignum: allow Integer's signum to inline (#20361)Sylvain Henry2021-10-201-1/+0
* Bignum: allow Integer predicates to inline (#20361)Sylvain Henry2021-10-201-7/+0
* Bignum: constant folding for bigNatCompareWord# (#20361)Sylvain Henry2021-10-201-2/+3
* Bignum: remove outdated commentSylvain Henry2021-10-071-8/+0
* Bignum: allow naturalToWordClamp/Negate/Signum to inline (#20361)Sylvain Henry2021-10-071-14/+3
* Bignum: allow inlining of naturalEq/Ne/Gt/Lt/Ge/Le/Compare (#20361)Sylvain Henry2021-10-071-38/+14
* Bignum: allow naturalEq#/Ne# to inline (#20361)Sylvain Henry2021-10-071-2/+11
* Constant folding for (.&.) maxBound (#20448)Sylvain Henry2021-10-051-0/+6
* Constant folding for negate (#20347)Sylvain Henry2021-10-041-16/+49
* Rules for sized conversion primops (#19769)Sylvain Henry2021-09-301-27/+11
* Constant-folding for timesInt2# (#20374)Sylvain Henry2021-09-231-0/+33
* Constant folding for ctz/clz/popCnt (#20376)Sylvain Henry2021-09-171-0/+45
* Fix #20203 improve constant fold for `and`/`or`CarrieMY2021-09-131-18/+120
* Canonicalize bignum literalsSylvain Henry2021-09-111-66/+99
* Bignum: refactor conversion rulesSylvain Henry2021-09-071-258/+0
* Make Int64#/Word64# unconditionally availableJohn Ericson2021-08-191-27/+0
* Remove ad-hoc fromIntegral rulesSylvain Henry2021-08-091-59/+230
* Lookup string literals in top-level thunks (fix #16373)Sylvain Henry2021-08-021-6/+8
* Constant-fold unpackAppendCString (fix #20174)Sylvain Henry2021-08-021-23/+77
* Add Word64#/Int64# primopsSylvain Henry2021-07-151-27/+211
* Additional constant-folding rule for binary AND/ORSylvain Henry2021-07-151-10/+51
* Put tracing functions into their own moduleSylvain Henry2021-06-221-19/+21
* Fix naturalToFloat/DoubleSylvain Henry2021-06-191-7/+27
* Bignum: match on DataCon workers in rules (#19892)Sylvain Henry2021-05-291-7/+26
* constant folding: Make shiftRule for Word8/16/32# types return correct typeMatthew Pickering2021-05-191-6/+6
* Remove useless {-# LANGUAGE CPP #-} pragmasSylvain Henry2021-05-121-1/+0
* Fully remove HsVersions.hSylvain Henry2021-05-121-3/+1
* Replace CPP assertions with Haskell functionsSylvain Henry2021-05-121-6/+7
* Redesign withDict (formerly magicDict)Ryan Scott2021-04-291-21/+3
* Fix magicDict in ghci (and in the presence of other ticks)Matthew Pickering2021-04-101-2/+2
* Add missing relational constant folding for sized numeric typesJohn Ericson2021-04-101-11/+67
* Re-export GHC.Bits from GHC.Prelude with custom shift implementation.Andreas Klebinger2021-04-091-13/+12