SpecConstr: Properly create rules for call patterns representing partial applications
The main fix is that in addVoidWorkerArg we now add the argument to the front. This fixes #21448. ------------------------- Metric Decrease: T16875 -------------------------
Showing
- compiler/GHC/Core/Opt/SpecConstr.hs 60 additions, 15 deletionscompiler/GHC/Core/Opt/SpecConstr.hs
- compiler/GHC/Core/Opt/WorkWrap/Utils.hs 5 additions, 4 deletionscompiler/GHC/Core/Opt/WorkWrap/Utils.hs
- testsuite/tests/simplCore/should_compile/T13143.stderr 9 additions, 9 deletionstestsuite/tests/simplCore/should_compile/T13143.stderr
Loading
Please register or sign in to comment