More changes to fix a space leak in the simplifier (#13426)
authorReid Barton <rwbarton@gmail.com>
Thu, 6 Apr 2017 21:44:08 +0000 (17:44 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 6 Apr 2017 21:44:10 +0000 (17:44 -0400)
commit59c925e88a1dcb98e62c2b5e0adaa299c3b15e44
tree177247191ea8a43684dad59527f6593dbf44d7c5
parent1d82e0724a14f3f6587f64aa4d667eb6c4a0f25d
More changes to fix a space leak in the simplifier (#13426)

Part of e13419c55 was accidentally lost during a rebase. This commit
adds the missing change, along with some more improvements
regarding where we do and don't use `seqType`.

Also include a comment about where the space leak showed up
and a Note explaining the strategy being used here.

Test Plan: harbormaster, plus local testing on DynFlags

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D3421
compiler/simplCore/Simplify.hs