Eta expand un-saturated primops
Now since we no longer try to predict CAFfyness we have no need for the solution to #16846. Eta expanding unsaturated primop applications is conceptually simpler, especially in the presence of levity polymorphism. This essentially reverts cac8dc9f, as suggested in #18079. Closes #18079.
parent
0ac29c88
Pipeline #18679 failed
Stage: lint
Stage: quick-build
Stage: build
Stage: full-build
Stage: cleanup
Stage: packaging
Stage: testing
Showing
- compiler/GHC/Builtin/PrimOps.hs 72 additions, 20 deletionscompiler/GHC/Builtin/PrimOps.hs
- compiler/GHC/ByteCode/Linker.hs 1 addition, 0 deletionscompiler/GHC/ByteCode/Linker.hs
- compiler/GHC/CoreToStg.hs 5 additions, 7 deletionscompiler/GHC/CoreToStg.hs
- compiler/GHC/CoreToStg/Prep.hs 4 additions, 8 deletionscompiler/GHC/CoreToStg/Prep.hs
- compiler/GHC/Types/Id.hs 5 additions, 13 deletionscompiler/GHC/Types/Id.hs
- testsuite/tests/codeGen/should_fail/T13233.hs 0 additions, 3 deletionstestsuite/tests/codeGen/should_fail/T13233.hs
- testsuite/tests/codeGen/should_fail/T13233.stderr 8 additions, 0 deletionstestsuite/tests/codeGen/should_fail/T13233.stderr
Loading
Please register or sign in to comment