Kill seqRule, discard dead seq# in Prep (#24334)
Discarding seq#s in Core land via `seqRule` was problematic; see #24334. So instead we discard certain dead, discardable seq#s in Prep now. See the updated `Note [seq# magic]`. This fixes the symptoms of #24334.
Showing
- compiler/GHC/Core/Opt/ConstantFold.hs 7 additions, 12 deletionscompiler/GHC/Core/Opt/ConstantFold.hs
- compiler/GHC/CoreToStg/Prep.hs 23 additions, 0 deletionscompiler/GHC/CoreToStg/Prep.hs
- compiler/GHC/Types/Id/Make.hs 8 additions, 1 deletioncompiler/GHC/Types/Id/Make.hs
- testsuite/tests/codeGen/should_compile/T24264.hs 2 additions, 6 deletionstestsuite/tests/codeGen/should_compile/T24264.hs
- testsuite/tests/core-to-stg/T24334.hs 20 additions, 0 deletionstestsuite/tests/core-to-stg/T24334.hs
- testsuite/tests/core-to-stg/T24334.stdout 1 addition, 0 deletionstestsuite/tests/core-to-stg/T24334.stdout
- testsuite/tests/core-to-stg/all.T 1 addition, 0 deletionstestsuite/tests/core-to-stg/all.T
Loading
Please register or sign in to comment