[commit: ghc] master: Ensure that scrutinee constant folding wraps numbers (53e2e70)
git at git.haskell.org
git at git.haskell.org
Tue Jan 24 03:45:17 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/53e2e70a477896d57059b5f12147b69d22a2e2e0/ghc
>---------------------------------------------------------------
commit 53e2e70a477896d57059b5f12147b69d22a2e2e0
Author: Sylvain Henry <hsyl20 at gmail.com>
Date: Mon Jan 23 21:57:38 2017 -0500
Ensure that scrutinee constant folding wraps numbers
Test Plan: T13172
Reviewers: rwbarton, simonpj, austin, bgamari
Reviewed By: simonpj, bgamari
Subscribers: simonpj, thomie
Differential Revision: https://phabricator.haskell.org/D3009
GHC Trac Issues: #13172
>---------------------------------------------------------------
53e2e70a477896d57059b5f12147b69d22a2e2e0
compiler/prelude/PrelRules.hs | 92 ++++++++++++++--------
compiler/simplCore/SimplUtils.hs | 2 +-
testsuite/tests/simplCore/should_run/T13172.hs | 11 +++
testsuite/tests/simplCore/should_run/T13172.stdout | 2 +
testsuite/tests/simplCore/should_run/all.T | 2 +
5 files changed, 77 insertions(+), 32 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 53e2e70a477896d57059b5f12147b69d22a2e2e0
More information about the ghc-commits
mailing list