summaryrefslogtreecommitdiff
path: root/testsuite/tests/stranal/sigs/T8598.stderr
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2016-03-31 10:18:15 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2016-04-14 22:21:17 +0200
commitf4fd98c717a7f68d76a3054021b3be65d1ebad82 (patch)
tree805887ba4b2e4d77369cd93e281c1e9f9ab0072b /testsuite/tests/stranal/sigs/T8598.stderr
parent3a34b5c32303734c794f27728025e8a9fb410fb3 (diff)
downloadhaskell-f4fd98c717a7f68d76a3054021b3be65d1ebad82.tar.gz
Add a final demand analyzer run right before TidyCore
in order to have precise used-once information in the exported strictness signatures, as well as precise used-once information on thunks. This avoids the bad effects of #11731. The subsequent worker-wrapper pass is responsible for removing the demand environment part of the strictness signature. It does not run after the final demand analyzer pass, so remove this also in CoreTidy. The subsequent worker-wrapper pass is also responsible for removing used-once-information from the demands and strictness signatures, as these might not be preserved by the simplifier. This is _not_ done by CoreTidy, because we _do_ want this information, as produced by the last round of the demand analyzer, to be available to the code generator. Differential Revision: https://phabricator.haskell.org/D2073
Diffstat (limited to 'testsuite/tests/stranal/sigs/T8598.stderr')
-rw-r--r--testsuite/tests/stranal/sigs/T8598.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/stranal/sigs/T8598.stderr b/testsuite/tests/stranal/sigs/T8598.stderr
index 28d5dd0c7d..c084e15a99 100644
--- a/testsuite/tests/stranal/sigs/T8598.stderr
+++ b/testsuite/tests/stranal/sigs/T8598.stderr
@@ -4,3 +4,9 @@ T8598.$trModule: m
T8598.fun: <S(S),1*U(U)>m
+
+==================== Strictness signatures ====================
+T8598.$trModule: m
+T8598.fun: <S(S),1*U(U)>m
+
+