Drop the app invariant
let’s see what happens… fixes #20554. Enforce Let-invariant in `simplLam`; testcase Enforce the let-invariant in SimpleOpt Use mightBeUnliftedType, not isUnliftedType Like this? But I still get these errors Implement some of Simon’s suggestions This seems to be the right SimplEnv In simplNonRecE, create StrictBind when let-invariant is not satisfied because `simplLazyBind` assumes that invariant. prepareRHS must not call makeTrivial when a case would be needed Try to avoid exprType a bit (does not help, though) Avoid exponential recursion in exprOkForSpeculation More use of mightBeUnliftedType else we get a panic case-of-known-constructor: Float unlifted arguments Teach DmdAnal about unlifted arguments (H/T Sebastian G) Update test output (mostly strictness signatures)
parent
6cea7311
No related branches found
No related tags found
Pipeline #45292 canceled
Stage: tool-lint
Stage: quick-build
Stage: full-build
Stage: packaging
Stage: testing
Showing
- compiler/GHC/Core/Lint.hs 1 addition, 9 deletionscompiler/GHC/Core/Lint.hs
- compiler/GHC/Core/Make.hs 8 additions, 36 deletionscompiler/GHC/Core/Make.hs
- compiler/GHC/Core/Opt/DmdAnal.hs 5 additions, 4 deletionscompiler/GHC/Core/Opt/DmdAnal.hs
- compiler/GHC/Core/Opt/FloatIn.hs 2 additions, 0 deletionscompiler/GHC/Core/Opt/FloatIn.hs
- compiler/GHC/Core/Opt/FloatOut.hs 3 additions, 2 deletionscompiler/GHC/Core/Opt/FloatOut.hs
- compiler/GHC/Core/Opt/Simplify.hs 49 additions, 27 deletionscompiler/GHC/Core/Opt/Simplify.hs
- compiler/GHC/Core/Opt/Simplify/Env.hs 3 additions, 3 deletionscompiler/GHC/Core/Opt/Simplify/Env.hs
- compiler/GHC/Core/SimpleOpt.hs 19 additions, 2 deletionscompiler/GHC/Core/SimpleOpt.hs
- compiler/GHC/Core/Utils.hs 16 additions, 4 deletionscompiler/GHC/Core/Utils.hs
- testsuite/tests/arityanal/should_compile/T18793.stderr 3 additions, 3 deletionstestsuite/tests/arityanal/should_compile/T18793.stderr
- testsuite/tests/numeric/should_compile/T7116.stdout 4 additions, 4 deletionstestsuite/tests/numeric/should_compile/T7116.stdout
- testsuite/tests/simplCore/should_compile/T13143.stderr 2 additions, 2 deletionstestsuite/tests/simplCore/should_compile/T13143.stderr
- testsuite/tests/simplCore/should_compile/T13543.stderr 4 additions, 4 deletionstestsuite/tests/simplCore/should_compile/T13543.stderr
- testsuite/tests/simplCore/should_compile/T18013.stderr 1 addition, 1 deletiontestsuite/tests/simplCore/should_compile/T18013.stderr
- testsuite/tests/simplCore/should_compile/T3772.stdout 2 additions, 2 deletionstestsuite/tests/simplCore/should_compile/T3772.stdout
- testsuite/tests/simplCore/should_compile/T4930.stderr 2 additions, 2 deletionstestsuite/tests/simplCore/should_compile/T4930.stderr
- testsuite/tests/simplCore/should_compile/spec-inline.stderr 2 additions, 2 deletionstestsuite/tests/simplCore/should_compile/spec-inline.stderr
- testsuite/tests/simplCore/should_run/all.T 1 addition, 1 deletiontestsuite/tests/simplCore/should_run/all.T
- testsuite/tests/stranal/should_compile/T18894.stderr 47 additions, 31 deletionstestsuite/tests/stranal/should_compile/T18894.stderr
- testsuite/tests/stranal/should_compile/T18903.stderr 5 additions, 4 deletionstestsuite/tests/stranal/should_compile/T18903.stderr
Loading
Please register or sign in to comment