Remove Core Lint pass on occurrence analysis output (#13220)
authorReid Barton <rwbarton@gmail.com>
Sat, 1 Apr 2017 02:48:14 +0000 (22:48 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sat, 1 Apr 2017 02:48:15 +0000 (22:48 -0400)
It was expensive, as the simplifier runs for many iterations,
and probably not very useful.

Test Plan: harbormaster

Reviewers: austin, bgamari, dfeuer

Reviewed By: dfeuer

Subscribers: dfeuer, thomie

Differential Revision: https://phabricator.haskell.org/D3391

compiler/simplCore/SimplCore.hs
testsuite/tests/deriving/perf/all.T

index 72e2795..bca9a33 100644 (file)
@@ -738,7 +738,6 @@ simplifyPgmIO pass@(CoreDoSimplify max_iterations mode)
                } ;
            Err.dumpIfSet_dyn dflags Opt_D_dump_occur_anal "Occurrence analysis"
                      (pprCoreBindings tagged_binds);
-           lintPassResult hsc_env CoreOccurAnal tagged_binds;
 
                 -- Get any new rules, and extend the rule base
                 -- See Note [Overall plumbing for rules] in Rules.hs
index 4d88bc9..a711a50 100644 (file)
@@ -1,13 +1,11 @@
 test('T10858',
      [compiler_stats_num_field('bytes allocated',
-          [(platform('x86_64-unknown-mingw32'), 272402736, 8),
-          # 2017-02-19  272402736  (x64/Windows) - unknown
-
-          (wordsize(64), 275357824, 8) ]),
-          # Initial:    476296112
+          [(wordsize(64), 241242968, 8) ]),
+          # Initial:    222312440
           # 2016-12-19  247768192  Join points (#19288)
-          # 2016-02-12  304094944  Type-indexed Typeable
-          # 2016-02-25  275357824  Early inline patch
+          # 2017-02-12  304094944  Type-indexed Typeable
+          # 2017-02-25  275357824  Early inline patch
+          # 2017-03-28  241242968  Run Core Lint less
       only_ways(['normal'])],
      compile,
      ['-O'])