nac3_sca/nac3standalone/demo
David Mak 31dcd2dde9 core: Use i8 for boolean variable allocation
In LLVM, i1 represents a 1-byte integer with a single valid bit; The
rest of the 7 upper bits are undefined. This causes problems when
using these variables in memory operations (e.g. memcpy/memmove as
needed by List slicing and assignment).

We fix this by treating all local boolean variables as i8 so that they
are well-defined for memory operations. Function ABIs will continue to
use i1, as memory operations cannot be directly performed on function
arguments or return types, instead they are always converted back into
local boolean variables (which are i8s anyways).

Fixes #315.
2023-09-25 15:42:07 +08:00
..
src core: Use i8 for boolean variable allocation 2023-09-25 15:42:07 +08:00
check_demos.sh meta: Allow specifying compiler arguments for check_demos 2023-09-18 11:35:20 +08:00
demo.rs nac3standalone: add tests for tuple 2022-03-27 10:31:20 +08:00
interpret_demo.py Option type support (#224) 2022-03-26 15:09:15 +08:00
run_demo.sh meta: Update run_demo.sh 2023-09-12 16:20:50 +08:00