[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 25 commits: rts/CNF: Fix fixup comparison function
Marge Bot
gitlab at gitlab.haskell.org
Mon May 11 17:07:48 UTC 2020
Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC
Commits:
444903c1 by Ben Gamari at 2020-05-11T13:07:11-04:00
rts/CNF: Fix fixup comparison function
Previously we would implicitly convert the difference between two words
to an int, resulting in an integer overflow on 64-bit machines.
Fixes #16992
- - - - -
4eeb9b65 by Ömer Sinan Ağacan at 2020-05-11T13:07:17-04:00
Pack some of IdInfo fields into a bit field
This reduces residency of compiler quite a bit on some programs.
Example stats when building T10370:
Before:
2,871,242,832 bytes allocated in the heap
4,693,328,008 bytes copied during GC
33,941,448 bytes maximum residency (276 sample(s))
375,976 bytes maximum slop
83 MiB total memory in use (0 MB lost due to fragmentation)
After:
2,858,897,344 bytes allocated in the heap
4,629,255,440 bytes copied during GC
32,616,624 bytes maximum residency (278 sample(s))
314,400 bytes maximum slop
80 MiB total memory in use (0 MB lost due to fragmentation)
So -3.9% residency, -1.3% bytes copied and -0.4% allocations.
Fixes #17497
Metric Decrease:
T9233
T9675
- - - - -
fea9ddfa by Ben Gamari at 2020-05-11T13:07:18-04:00
get-win32-tarballs: Fix base URL
Revert a change previously made for testing purposes.
- - - - -
972bfffb by Ben Gamari at 2020-05-11T13:07:18-04:00
get-win32-tarballs: Improve diagnostics output
- - - - -
2aa29e91 by Simon Jakobi at 2020-05-11T13:07:19-04:00
docs: Add examples for Data.Semigroup.Arg{Min,Max}
Context: #17153
- - - - -
0cbdbe6e by Baldur Blöndal at 2020-05-11T13:07:21-04:00
Predicate, Equivalence derive via `.. -> a -> All'
- - - - -
0d6fac36 by Ben Gamari at 2020-05-11T13:07:22-04:00
Add few cleanups of the CAF logic
Give the NameSet of non-CAFfy names a proper newtype to distinguish it
from all of the other NameSets floating about.
- - - - -
1ba0ab26 by Emeka Nkurumeh at 2020-05-11T13:07:23-04:00
fix printf warning when using with ghc with clang on mingw
- - - - -
117ec613 by Daniel Gröber at 2020-05-11T13:07:24-04:00
Fix non power-of-two Storable.alignment in Capi_Ctype tests
Alignments passed to alloca and friends must be a power of two for the code
in allocatePinned to work properly. Commit 41230e2601 ("Zero out pinned
block alignment slop when profiling") introduced an ASSERT for this but
this test was still violating it.
- - - - -
40d6382a by Daniel Gröber at 2020-05-11T13:07:24-04:00
Improve ByteArray# documentation regarding alignment
- - - - -
c2ec0908 by Daniel Gröber at 2020-05-11T13:07:24-04:00
Document word-size rounding of ByteArray# memory (Fix #14731)
- - - - -
864fd8ee by Daniel Gröber at 2020-05-11T13:07:24-04:00
Throw IOError when allocaBytesAligned gets non-power-of-two align
- - - - -
d15847db by Artem Pelenitsyn at 2020-05-11T13:07:26-04:00
Don't reload environment files on every setSessionDynFlags
Makes `interpretPackageEnv` (which loads envirinment files) a part of
`parseDynamicFlags` (parsing command-line arguments, which is typically
done once) instead of `setSessionDynFlags` (which is typically called
several times). Making several (transitive) calls to `interpretPackageEnv`,
as before, caused #18125 #16318, which should be fixed now.
- - - - -
2749d171 by Ben Gamari at 2020-05-11T13:07:26-04:00
GHC.Cmm.Opt: Handle MO_XX_Conv
This MachOp was introduced by 2c959a1894311e59cd2fd469c1967491c1e488f3
but a wildcard match in cmmMachOpFoldM hid the fact that it wasn't
handled. Ideally we would eliminate the match but this appears to be a
larger task.
Fixes #18141.
- - - - -
0adabe86 by Hécate at 2020-05-11T13:07:27-04:00
fix(documentation): Fix the RST links to GHC.Prim
- - - - -
a463175e by Baldur Blöndal at 2020-05-11T13:07:28-04:00
Document (->) using inferred quantification for its runtime representations.
Fixes #18142.
- - - - -
ba16cedb by Takenobu Tani at 2020-05-11T13:07:30-04:00
Tweak man page for ghc command
This commit updates the ghc command's man page as followings:
* Enable `man_show_urls` to show URL addresses in the `DESCRIPTION`
section of ghc.rst, because sphinx currently removes hyperlinks
for man pages.
* Add a `SEE ALSO` section to point to the GHC homepage
- - - - -
7fd05a7a by Takenobu Tani at 2020-05-11T13:07:32-04:00
GHCi: Add link to the user's guide in help message
This commit adds a link to the user's guide in ghci's
`:help` message.
Newcomers could easily reach to details of ghci.
- - - - -
90d55045 by Jeff Happily at 2020-05-11T13:07:33-04:00
Handle single unused import
- - - - -
2cacab4b by Ben Gamari at 2020-05-11T13:07:34-04:00
users-guide: Add discussion of shared object naming
Fixes #18074.
- - - - -
838f95a6 by Ben Gamari at 2020-05-11T13:07:34-04:00
Ensure that printMinimalImports closes handle
Fixes #18166.
- - - - -
7c430d00 by Ben Gamari at 2020-05-11T13:07:35-04:00
testsuite: Print sign of performance changes
Executes the minor formatting change in the tabulated performance
changes suggested in #18135.
- - - - -
9a2bc5d6 by Ben Gamari at 2020-05-11T13:07:35-04:00
hadrian: Tell testsuite driver about LLVM availability
This reflects the logic present in the Make build system into Hadrian.
Fixes #18167.
- - - - -
7a881582 by Ben Gamari at 2020-05-11T13:07:36-04:00
testsuite: Add testcase for #18129
- - - - -
65d40bd5 by Ben Gamari at 2020-05-11T13:07:36-04:00
Revert "Specify kind variables for inferred kinds in base."
As noted in !3132, this has rather severe knock-on consequences in
user-code. We'll need to revisit this before merging something along
these lines.
This reverts commit 9749fe1223d182b1f8e7e4f7378df661c509f396.
- - - - -
30 changed files:
- compiler/GHC.hs
- compiler/GHC/Builtin/Types/Prim.hs
- compiler/GHC/Builtin/primops.txt.pp
- compiler/GHC/Cmm/Info/Build.hs
- compiler/GHC/Cmm/Opt.hs
- compiler/GHC/Core/Coercion.hs
- compiler/GHC/Core/TyCo/Rep.hs
- compiler/GHC/Core/Type.hs
- compiler/GHC/Driver/Main.hs
- compiler/GHC/Iface/Make.hs
- compiler/GHC/Iface/UpdateCafInfos.hs
- compiler/GHC/Rename/Names.hs
- compiler/GHC/Types/Id/Info.hs
- compiler/GHC/Types/Name/Set.hs
- docs/users_guide/conf.py
- docs/users_guide/editing-guide.rst
- docs/users_guide/exts/ffi.rst
- docs/users_guide/exts/primitives.rst
- docs/users_guide/ghc.rst
- docs/users_guide/packages.rst
- docs/users_guide/phases.rst
- ghc/GHCi/UI.hs
- hadrian/src/Settings/Builders/RunTest.hs
- includes/rts/Messages.h
- libraries/base/Control/Arrow.hs
- libraries/base/Control/Category.hs
- libraries/base/Data/Data.hs
- libraries/base/Data/Dynamic.hs
- libraries/base/Data/Fixed.hs
- libraries/base/Data/Functor/Compose.hs
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/df0c5d4e8d76cefe793dfd0a8d6f698f51681e6c...65d40bd5c9a5d890328855cf1693ccda38e187f7
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/df0c5d4e8d76cefe793dfd0a8d6f698f51681e6c...65d40bd5c9a5d890328855cf1693ccda38e187f7
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200511/9640124f/attachment.html>
More information about the ghc-commits
mailing list