summaryrefslogtreecommitdiff
path: root/testsuite/tests/stranal/sigs
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2020-11-03 18:28:49 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-11-20 02:09:51 -0500
commit321d1bd8a79ab39c3c9e8697fffb0107c43f83cf (patch)
treeee3b1476f7bffafd318607a3963a79ee47f4e9f7 /testsuite/tests/stranal/sigs
parentb57845c3d80f5bed8f498f27fb7a318f2b2f8b2c (diff)
downloadhaskell-321d1bd8a79ab39c3c9e8697fffb0107c43f83cf.tar.gz
Fix strictness signatures of `prefetchValue*#` primops
Their strictness signatures said the primops are strict in their first argument, which is wrong: Handing it a thunk will prefetch the pointer to the thunk, but not evaluate it. Hence not strict. The regression test `T8256` actually tests for laziness in the first argument, so GHC apparently never exploited the strictness signature. See also https://gitlab.haskell.org/ghc/ghc/-/issues/8256#note_310867, where this came up.
Diffstat (limited to 'testsuite/tests/stranal/sigs')
0 files changed, 0 insertions, 0 deletions