Do rules both before and after [skip ci]
Before iff there is an active unfolding. But always after. Consider not doing after if before fails. Typically if the rule applies the unfolding is inactive Goal (in T24984) augment f (augment g (augment h (build k))) --> augment f (augment g (build..)) --> augment f (build..) --> augment f (build..) Want to do this in one pass. Work in progress
Showing
- compiler/GHC/Core/Opt/Simplify/Env.hs 26 additions, 11 deletionscompiler/GHC/Core/Opt/Simplify/Env.hs
- compiler/GHC/Core/Opt/Simplify/Iteration.hs 77 additions, 66 deletionscompiler/GHC/Core/Opt/Simplify/Iteration.hs
- compiler/GHC/Core/Opt/Simplify/Utils.hs 10 additions, 14 deletionscompiler/GHC/Core/Opt/Simplify/Utils.hs
- compiler/GHC/Core/Subst.hs 1 addition, 5 deletionscompiler/GHC/Core/Subst.hs
- compiler/GHC/Core/TyCo/Subst.hs 4 additions, 1 deletioncompiler/GHC/Core/TyCo/Subst.hs
- compiler/GHC/CoreToStg/Prep.hs 0 additions, 1 deletioncompiler/GHC/CoreToStg/Prep.hs
Loading
Please register or sign in to comment