summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorCheng Shao <terrorjack@type.dance>2023-01-31 17:07:17 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-01-31 20:47:03 -0500
commitf0eefa3cf058879246991747dcd18c811402f9e5 (patch)
treeec85c5fc686c158b329bb9db53ffb367a4046a66 /.mailmap
parent22089f693cf6e662a58a7011adb94d7f768ad2d7 (diff)
downloadhaskell-wip/T21776.tar.gz
compiler: properly handle non-word-sized CmmSwitch scrutinees in the wasm NCGwip/T21776
Currently, the wasm NCG has an implicit assumption: all CmmSwitch scrutinees are 32-bit integers. This is not always true; #22864 is one counter-example with a 64-bit scrutinee. This patch fixes the logic by explicitly converting the scrutinee to a word that can be used as a br_table operand. Fixes #22871. Also includes a regression test.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions