Split stripTicks into expression editing and tick collection ghc-7.10.1-rc2
authorPeter Wortmann <scpmw@leeds.ac.uk>
Mon, 19 Jan 2015 13:57:19 +0000 (07:57 -0600)
committerAustin Seipp <aseipp@pobox.com>
Fri, 23 Jan 2015 18:03:25 +0000 (12:03 -0600)
commit174082ffeb69b2f9df19e7af7b63a331dd074145
treebc0fee636f5122a5426c4b89ba5b4ccbc8d7d681
parent5eae13b9fc4227ccd6677a97dafa979e245e1711
Split stripTicks into expression editing and tick collection

As with stripTicksTop, this is because we often need the stripped
expression but not the ticks (at least not right away). This makes a big
difference for CSE, see #9961.

Signed-off-by: Austin Seipp <austin@well-typed.com>
(cherry picked from commit 55199a97c020761ff4bfdc06da0042e43bede697)
compiler/coreSyn/CoreLint.hs
compiler/coreSyn/CoreUtils.hs
compiler/simplCore/CSE.hs
compiler/simplCore/SimplUtils.hs
testsuite/tests/perf/compiler/all.T