Commits on Source (13)
-
Serge S. Gulin authored
The main purpose is to create tests for minimal app (hello world and its variations, i.e. unicode used) distribution size metric. Many platforms support distribution in compressed form via gzip. It would be nice to collect information on how much size is taken by the executional bundle for each platform at minimal edge case. 2 groups of tests are added: 1. We extend javascript backend size tests with gzip-enabled versions for all cases where an optimizing compiler is used (for now it is google closure compiler). 2. We add trivial hello world tests with gzip-enabled versions for all other platforms at CI pipeline where no external optimizing compiler is used.
eb1cb536 -
Fixes point 1 in #25052
d94410f8 -
Fixes #25052
bfe600f5 -
This partially addresses #25082.
62650d9f -
It was added earlier but hadn't appeared in any release notes yet. Partially addresses #25082.
5f0e23fd -
- beef6135 enabled the use of MO_Add/MO_Sub for 64-bit operations in the C and LLVM backends - 6755d833 did the same for the x86 NCG backend However we store some literal values as `Int` in the compiler. As a result, some Cmm optimizations transformed target 64-bit literals into compiler `Int`. If the compiler is 32-bit, this leads to computing with wrong literals (see #24893 and #24700). This patch disables these Cmm optimizations for 32-bit compilers. This is unsatisfying (optimizations shouldn't be compiler-word-size dependent) but it fixes the bug and it makes the patch easy to backport. A proper fix would be much more invasive but it shall be implemented in the future. Co-authored-by:
amesgen <amesgen@amesgen.de>
7446a09a -
Add a section on "types in terms" that were implemented in 8b2f70a2 and remove the now outdated suggestion of using `type` for them.
d59faaf2 -
39fd6714
-
Need to extend JSC externs with Emscripten RTS definitions to avoid JSC_UNDEFINED_VARIABLE errors when linking without the emcc rts. Fix #25138 Some recompilation avoidance tests now fail. This is tracked with the other instances of this failure in #23013. My hunch is that they were working by chance when we used the emcc linker. Metric Decrease: T24602_perf_size
e7764575 -
d1a40233
-
Fix #24377
610840eb -
Rodrigo Mesquita authored
Fixes #25005
Verifiedf5976713 -
See https://github.com/haskell/core-libraries-committee/issues/216. This will be removed in GHC 9.14.
Verifiede88ca499
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- compiler/GHC/Cmm/Opt.hs 18 additions, 1 deletioncompiler/GHC/Cmm/Opt.hs
- compiler/GHC/Parser.y 2 additions, 0 deletionscompiler/GHC/Parser.y
- compiler/GHC/StgToJS/Linker/Linker.hs 9 additions, 2 deletionscompiler/GHC/StgToJS/Linker/Linker.hs
- compiler/GHC/Tc/Gen/HsType.hs 1 addition, 0 deletionscompiler/GHC/Tc/Gen/HsType.hs
- compiler/GHC/Tc/Gen/Splice.hs 10 additions, 2 deletionscompiler/GHC/Tc/Gen/Splice.hs
- docs/users_guide/9.12.1-notes.rst 4 additions, 0 deletionsdocs/users_guide/9.12.1-notes.rst
- docs/users_guide/exts/required_type_arguments.rst 28 additions, 7 deletionsdocs/users_guide/exts/required_type_arguments.rst
- docs/users_guide/javascript.rst 3 additions, 3 deletionsdocs/users_guide/javascript.rst
- docs/users_guide/using-optimisation.rst 2 additions, 1 deletiondocs/users_guide/using-optimisation.rst
- hadrian/src/Rules/Generate.hs 1 addition, 0 deletionshadrian/src/Rules/Generate.hs
- libraries/base/base.cabal 1 addition, 1 deletionlibraries/base/base.cabal
- libraries/base/changelog.md 1 addition, 0 deletionslibraries/base/changelog.md
- libraries/base/src/GHC/Desugar.hs 10 additions, 5 deletionslibraries/base/src/GHC/Desugar.hs
- libraries/ghc-experimental/ghc-experimental.cabal 1 addition, 1 deletionlibraries/ghc-experimental/ghc-experimental.cabal
- libraries/ghc-heap/ghc-heap.cabal.in 5 additions, 2 deletionslibraries/ghc-heap/ghc-heap.cabal.in
- libraries/ghc-internal/ghc-internal.cabal.in 5 additions, 1 deletionlibraries/ghc-internal/ghc-internal.cabal.in
- libraries/ghc-internal/jsbits/base.js 3 additions, 3 deletionslibraries/ghc-internal/jsbits/base.js
- libraries/ghc-internal/src/GHC/Internal/Exception/Type.hs 11 additions, 7 deletionslibraries/ghc-internal/src/GHC/Internal/Exception/Type.hs
- libraries/ghc-internal/src/GHC/Internal/JS/Foreign/Callback.hs 1 addition, 1 deletion...ries/ghc-internal/src/GHC/Internal/JS/Foreign/Callback.hs