diff options
author | Sebastian Graf <sebastian.graf@kit.edu> | 2021-04-28 14:55:26 +0200 |
---|---|---|
committer | Sebastian Graf <sebastian.graf@kit.edu> | 2021-05-06 14:12:45 +0200 |
commit | 407a91259680197f25b11453589a15302f636ba2 (patch) | |
tree | e017b1750ddf0039da4ef7ed7336f8e422a95ea8 /testsuite/tests/patsyn | |
parent | 24a9b1708cee95670e7ec2a6ceb68e29fc376cf7 (diff) | |
download | haskell-wip/T19407.tar.gz |
DmdAnal: Turn `LP(A)` into `LP(L)` in signatures (#19407)wip/T19407
This patch fixes some abundant reboxing of `DynFlags` in
`GHC.HsToCore.Match.Literal.warnAboutOverflowedLit` with a justifiable hack.
See the new `Note [Turn LP(A) into LP(M) in signatures]` and the new regression
test `T19407`.
There is a +4% ghc/alloc metric increase in T12545. The baseline is 1.7GB, this
patch uses 1.76GB. But if I pass `-v` then suddenly the baseline takes 1.8GB, this
patch 1.78GB. So it's actually an improvement! It appears that this patch is
somehow a bit more strict. In fact, in other jobs the same metric decreases.
Tracked as #19801.
Metric Increase:
T12545
Metric Decrease:
T12545
Diffstat (limited to 'testsuite/tests/patsyn')
0 files changed, 0 insertions, 0 deletions