FloatOut: improve floating for join point
See the new Note [Floating join point bindings]. * Completely get rid of the complicated join_ceiling nonsense, which I have never understood. * Do not float join points at all, except perhaps to top level. * Some refactoring around wantToFloat, to treat Rec and NonRec more uniformly
Showing
- compiler/GHC/Core/Opt/FloatOut.hs 27 additions, 99 deletionscompiler/GHC/Core/Opt/FloatOut.hs
- compiler/GHC/Core/Opt/Monad.hs 22 additions, 17 deletionscompiler/GHC/Core/Opt/Monad.hs
- compiler/GHC/Core/Opt/Pipeline.hs 22 additions, 19 deletionscompiler/GHC/Core/Opt/Pipeline.hs
- compiler/GHC/Core/Opt/SetLevels.hs 125 additions, 113 deletionscompiler/GHC/Core/Opt/SetLevels.hs
Loading
Please register or sign in to comment