diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2022-05-03 12:59:18 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-05-05 09:05:43 -0400 |
commit | b528f0f6803054aaa272f5f289c533d4a0593854 (patch) | |
tree | 7d6e5d65d00b7b78ba542c29ff91f6d56b37d7d8 /testsuite/tests/perf | |
parent | 27f9aab340ab9be8c2018e8f3c71c9c18337428b (diff) | |
download | haskell-b528f0f6803054aaa272f5f289c533d4a0593854.tar.gz |
Fix several note references, part 2
Diffstat (limited to 'testsuite/tests/perf')
-rw-r--r-- | testsuite/tests/perf/join_points/join005.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/perf/join_points/join005.hs b/testsuite/tests/perf/join_points/join005.hs index 611a3de4ae..4d715c2d87 100644 --- a/testsuite/tests/perf/join_points/join005.hs +++ b/testsuite/tests/perf/join_points/join005.hs @@ -16,8 +16,8 @@ sumOfMultiplesOf p ns It's hard to test for this, but what should happen is that go gets W/W'd and the worker is a join point (else Core Lint will complain). Interestingly, go is *not* CPR'd, because then the worker couldn't be a join point, but once the -simplifier runs, the worker ends up returning Int# anyway. See Note [Don't CPR -join points] in GHC.Core.Opt.WorkWrap. +simplifier runs, the worker ends up returning Int# anyway. See Note [Don't w/w +join points for CPR] in GHC.Core.Opt.WorkWrap. -} main = print $ sumOfMultiplesOf 2 [1..10] |