samrushing/irken-compiler

llvm: use alloca for letreg

samrushing opened this issue · 0 comments

Currently, letreg is somewhat broken with the llvm backend, because assignment cannot be implemented due to SSA. If we map letreg variables to the alloca insn, then we can handle set!.
[This issue came up with trying to get c-like performance on tight loops in crypto code]