SetLevels: Substitute in ticks in lvlMFE
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 4 Sep 2017 12:05:33 +0000 (08:05 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 5 Sep 2017 11:20:00 +0000 (07:20 -0400)
commitcd857dd415378ac4204a164407d350b0c3ede5ae
tree4e5a03182edab47fee93cd5c8f2a692284769fc8
parent542f89ff23e4deb66debca0b5de3ac3047befb28
SetLevels: Substitute in ticks in lvlMFE

Previously SetLevels.lvlMFE would fail to substitute in ticks, unlike
lvlExpr.  This lead to #13481. Fix this.

Test Plan: `make test TEST=T12622 WAY=ghci`

Reviewers: austin, simonpj

Reviewed By: simonpj

Subscribers: simonpj, rwbarton, thomie

GHC Trac Issues: #13481

Differential Revision: https://phabricator.haskell.org/D3920
compiler/simplCore/SetLevels.hs
testsuite/tests/codeGen/should_run/all.T