Skip to content

Commit

Permalink
set alignment 4 when loading multi return value
Browse files Browse the repository at this point in the history
  • Loading branch information
TianlongLiang committed Dec 11, 2024
1 parent 1fb0862 commit 64ac027
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/iwasm/compilation/aot_emit_function.c
Original file line number Diff line number Diff line change
Expand Up @@ -1832,6 +1832,7 @@ aot_compile_op_call(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
aot_set_last_error("llvm build load failed.");
goto fail;
}
LLVMSetAlignment(ext_ret, 4);
PUSH(ext_ret, ext_ret_types[i]);
}
}
Expand Down

0 comments on commit 64ac027

Please sign in to comment.