Tidy: Add flag to expose unfoldings if they take dictionary arguments.
Add the flag `-fexpose-overloaded-unfoldings` to be able to control this behaviour. For ghc's boot libraries file size grew by less than 1% when it was enabled. However I refrained from enabling it by default for now. I've also added a section on specialization more broadly to the users guide. ------------------------- Metric Decrease: MultiLayerModulesTH_OneShot Metric Increase: T12425 T13386 hard_hole_fits -------------------------
Showing
- compiler/GHC/Driver/Config/Tidy.hs 1 addition, 0 deletionscompiler/GHC/Driver/Config/Tidy.hs
- compiler/GHC/Driver/Flags.hs 2 additions, 0 deletionscompiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs 1 addition, 0 deletionscompiler/GHC/Driver/Session.hs
- compiler/GHC/Iface/Tidy.hs 84 additions, 20 deletionscompiler/GHC/Iface/Tidy.hs
- docs/users_guide/9.12.1-notes.rst 1 addition, 0 deletionsdocs/users_guide/9.12.1-notes.rst
- docs/users_guide/hints.rst 94 additions, 1 deletiondocs/users_guide/hints.rst
- docs/users_guide/using-optimisation.rst 46 additions, 9 deletionsdocs/users_guide/using-optimisation.rst
- testsuite/tests/simplCore/should_compile/ExposeOverloaded.hs 43 additions, 0 deletionstestsuite/tests/simplCore/should_compile/ExposeOverloaded.hs
- testsuite/tests/simplCore/should_compile/ExposeOverloaded.stderr 254 additions, 0 deletions...te/tests/simplCore/should_compile/ExposeOverloaded.stderr
- testsuite/tests/simplCore/should_compile/T16038/Makefile 1 addition, 1 deletiontestsuite/tests/simplCore/should_compile/T16038/Makefile
- testsuite/tests/simplCore/should_compile/all.T 6 additions, 2 deletionstestsuite/tests/simplCore/should_compile/all.T
Loading
Please register or sign in to comment