diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-07-26 12:01:51 +0200 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2021-08-17 21:01:44 +0000 |
commit | 5798357d9396c62a07413b1ee8ab3515526cf1e7 (patch) | |
tree | 8fa4b3f7e5b993632d0bfb244558d498d1147b25 /compiler/Language/Haskell/Syntax/Binds.hs | |
parent | b784a51eb1cf084353e369d48643d64008b61b4a (diff) | |
download | haskell-wip/byte-switch.tar.gz |
StgToCmm: use correct bounds for switches on sized valueswip/byte-switch
StgToCmm was only using literals signedness to determine whether using
Int and Word range in Cmm switches. Now that we have sized literals
(Int8#, Int16#, etc.), it needs to take their ranges into account.
Diffstat (limited to 'compiler/Language/Haskell/Syntax/Binds.hs')
0 files changed, 0 insertions, 0 deletions