1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-25 16:45:20 +03:00
juvix/tests/runtime/positive
Łukasz Czajka 4dcbb002fe
Add an if instruction to JuvixReg (#2855)
* Closes #2829
* Adds a transformation which converts `br` to `if` when the variable
branched on was assigned in the previous instruction. The transformation
itself doesn't check liveness and doesn't remove the assignment. Dead
code elimination should be run afterwards to remove the assignment.
* For Cairo, it only makes sense to convert `br` to `if` for equality
comparisons against zero. The assignment before `br` will always become
dead after converting `br` to `if`, because we convert to SSA before.
2024-06-26 19:08:33 +02:00
..
out Improve closure calls in the runtime (#2396) 2023-09-29 14:20:00 +02:00
test001.c Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00
test002.c Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00
test003.c Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00
test004.c Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00
test005.c Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00
test006.c Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00
test007.c Improve closure calls in the runtime (#2396) 2023-09-29 14:20:00 +02:00
test008.c Improve closure calls in the runtime (#2396) 2023-09-29 14:20:00 +02:00
test009.c Merge stack and temporary variable groups in JuvixReg (#2579) 2024-01-17 19:11:40 +01:00
test010.c Merge stack and temporary variable groups in JuvixReg (#2579) 2024-01-17 19:11:40 +01:00
test011.c Merge stack and temporary variable groups in JuvixReg (#2579) 2024-01-17 19:11:40 +01:00
test012.c Improve closure calls in the runtime (#2396) 2023-09-29 14:20:00 +02:00
test013.c Add an if instruction to JuvixReg (#2855) 2024-06-26 19:08:33 +02:00
test014.c Translation from JuvixAsm to C (#1619) 2022-12-06 11:33:20 +01:00
test015.c Add an if instruction to JuvixReg (#2855) 2024-06-26 19:08:33 +02:00
test016.c Improve closure calls in the runtime (#2396) 2023-09-29 14:20:00 +02:00
test017.c Improve closure calls in the runtime (#2396) 2023-09-29 14:20:00 +02:00
test018.c Translation from JuvixAsm to C (#1619) 2022-12-06 11:33:20 +01:00
test019.c Translation from JuvixAsm to C (#1619) 2022-12-06 11:33:20 +01:00
test020.c Translation from JuvixAsm to C (#1619) 2022-12-06 11:33:20 +01:00
test021.c Improve closure calls in the runtime (#2396) 2023-09-29 14:20:00 +02:00
test022.c Improve closure calls in the runtime (#2396) 2023-09-29 14:20:00 +02:00