WIP - [artiq] Test

This commit is contained in:
David Mak 2024-08-15 05:34:01 +08:00
parent 5c678ea11d
commit 02cda69899
1 changed files with 1 additions and 0 deletions

View File

@ -613,6 +613,7 @@ fn format_rpc_ret<'ctx>(
let buffer = ArraySliceValue::from_ptr_val(buffer, ctx.builder.build_left_shift(buffer_size, llvm_usize.const_int(2, false), "").unwrap(), Some("rpc.buffer.ptr"));
let i_addr = ctx.builder.build_alloca(llvm_usize, "i.addr").unwrap();
ctx.builder.build_store(i_addr, llvm_usize.const_zero()).unwrap();
ctx.builder.build_unconditional_branch(head_bb).unwrap();
ctx.builder.position_at_end(head_bb);