Fix seq# case of exprOkForSpeculation
This subtle patch fixes Trac #5129 (again; comment:20 and following). I took the opportunity to document seq# properly; see Note [seq# magic] in PrelRules, and Note [seq# and expr_ok] in CoreUtils.
Showing
- compiler/codeGen/StgCmmExpr.hs 9 additions, 6 deletionscompiler/codeGen/StgCmmExpr.hs
- compiler/coreSyn/CoreUtils.hs 23 additions, 1 deletioncompiler/coreSyn/CoreUtils.hs
- compiler/prelude/PrelRules.hs 50 additions, 1 deletioncompiler/prelude/PrelRules.hs
- compiler/prelude/primops.txt.pp 1 addition, 7 deletionscompiler/prelude/primops.txt.pp
- testsuite/tests/codeGen/should_run/all.T 1 addition, 1 deletiontestsuite/tests/codeGen/should_run/all.T
Loading
Please register or sign in to comment