diff options
author | Simon Jakobi <simon.jakobi@gmail.com> | 2020-01-31 00:57:00 +0100 |
---|---|---|
committer | Simon Jakobi <simon.jakobi@gmail.com> | 2020-02-01 19:34:28 +0100 |
commit | c254b8803a813c58c71fcbb231de6f1e7e5d67b3 (patch) | |
tree | 1d54d391abaa48a4581fa23b6789b7820cf28f2c /compiler | |
parent | 58ed6c4a0999c0025b1b024bc26171fa6d6773b3 (diff) | |
download | haskell-wip/sjakobi/T17724.tar.gz |
Add simplifier pass after SpecConstrwip/sjakobi/T17724
Fixes #17722, #17724.
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/simplCore/SimplCore.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/simplCore/SimplCore.hs b/compiler/simplCore/SimplCore.hs index b8fb162432..3f577c18c0 100644 --- a/compiler/simplCore/SimplCore.hs +++ b/compiler/simplCore/SimplCore.hs @@ -314,7 +314,9 @@ getCoreToDo dflags -- reduce the possibility of shadowing -- Reason: see Note [Shadowing] in SpecConstr.hs - runWhen spec_constr CoreDoSpecConstr, + runWhen spec_constr + (CoreDoPasses [ CoreDoSpecConstr + , simpl_phase 0 ["post-spec-constr"] 1]), maybe_rule_check (Phase 0), |