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 55199a97)
Showing
- compiler/coreSyn/CoreLint.hs 1 addition, 1 deletioncompiler/coreSyn/CoreLint.hs
- compiler/coreSyn/CoreUtils.hs 32 additions, 23 deletionscompiler/coreSyn/CoreUtils.hs
- compiler/simplCore/CSE.hs 6 additions, 4 deletionscompiler/simplCore/CSE.hs
- compiler/simplCore/SimplUtils.hs 2 additions, 2 deletionscompiler/simplCore/SimplUtils.hs
- testsuite/tests/perf/compiler/all.T 10 additions, 0 deletionstestsuite/tests/perf/compiler/all.T
Loading
Please register or sign in to comment