1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-08 08:39:26 +03:00
juvix/tests/benchmark
Ł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
..
ackermann Update juvix-stdlib to remove non-ASCII indentifiers (#2857) 2024-06-26 10:23:35 +02:00
combinations Numeric, ordering and equality traits (#2433) 2023-10-09 18:25:01 +02:00
cps Numeric, ordering and equality traits (#2433) 2023-10-09 18:25:01 +02:00
fibonacci Numeric, ordering and equality traits (#2433) 2023-10-09 18:25:01 +02:00
fold Numeric, ordering and equality traits (#2433) 2023-10-09 18:25:01 +02:00
mapfold Add an if instruction to JuvixReg (#2855) 2024-06-26 19:08:33 +02:00
mapfun Add an if instruction to JuvixReg (#2855) 2024-06-26 19:08:33 +02:00
maybe Numeric, ordering and equality traits (#2433) 2023-10-09 18:25:01 +02:00
mergesort Update juvix-stdlib to remove non-ASCII indentifiers (#2857) 2024-06-26 10:23:35 +02:00
prime Numeric, ordering and equality traits (#2433) 2023-10-09 18:25:01 +02:00
compile.sh Fix runtime C maybe benchmark example (#2195) 2023-06-16 09:54:13 +01:00
Makefile Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00