Split stripTicks into expression editing and tick collection
authorPeter Wortmann <scpmw@leeds.ac.uk>
Mon, 19 Jan 2015 13:57:19 +0000 (07:57 -0600)
committerAustin Seipp <austin@well-typed.com>
Mon, 19 Jan 2015 13:57:35 +0000 (07:57 -0600)
commit55199a97c020761ff4bfdc06da0042e43bede697
tree8636cf3aa8051cbdb8da44125dec2ccbe08b9e01
parentd839493991e508160d416311ba47b7a7e2d62aae
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>
compiler/coreSyn/CoreLint.hs
compiler/coreSyn/CoreUtils.hs
compiler/simplCore/CSE.hs
compiler/simplCore/SimplUtils.hs
testsuite/tests/perf/compiler/all.T