Ali Cheraghi
dec1163fbb
all: replace all @Type usages
...
Co-authored-by: Matthew Lugg <mlugg@mlugg.co.uk>
2025-11-22 22:42:38 +00:00
Justus Klausecker
ba549a7d67
Add support for both '_' and 'else' prongs at the same time in switch statements
...
If both are used, 'else' handles named members and '_' handles
unnamed members. In this case the 'else' prong will be unrolled
to an explicit case containing all remaining named values.
2025-08-07 13:58:47 +02:00
Jacob Young
5060ab99c9
aarch64: add new from scratch self-hosted backend
2025-07-22 19:43:47 -07:00
Matthew Lugg
687370237f
llvm: fix switch loop on larger than pointer integer
2025-07-22 14:50:22 -04:00
Andrew Kelley
b993728f10
make it a behavior test instead
...
It's important to check for correct runtime behavior, rather than only
checking that the compiler does not crash.
2025-07-14 10:02:37 -07:00
Ali Cheraghi
872f68c9cb
rename spirv backend name
...
`stage2_spirv64` -> `stage2_spirv`
2025-06-16 13:22:19 +03:30
Pavel Verigo
b25d93e7d9
stage2-wasm: implement switch_dispatch + handle > 32 bit integers in switches
...
Updated solution is future proof for arbitary size integer handling for both strategies .br_table lowering if switch case is dense, .br_if base jump table if values are too sparse.
2025-02-22 18:34:00 -05:00
David Rubin
b99dbb6fb5
Value: implement orderAgainstZeroInner for errors
2024-12-29 13:36:52 -05:00
David Rubin
0d295d7635
riscv: implement switch_dispatch & loop_switch_br
2024-09-01 18:31:01 +01:00
Jacob Young
d5b01df3c8
x86_64: implement loop_switch_br and switch_dispatch
2024-09-01 18:31:01 +01:00
mlugg
5e12ca9fe3
compiler: implement labeled switch/continue
2024-09-01 18:30:31 +01:00