Skip to content

Commit

Permalink
Try to fix #4553
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerBill committed Dec 5, 2024
1 parent f5b16aa commit dd8e6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llvm_backend_general.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2601,7 +2601,7 @@ general_end:;
GB_ASSERT(p->decl_block != p->curr_block);

i64 max_align = gb_max(lb_alignof(src_type), lb_alignof(dst_type));
max_align = gb_max(max_align, 4);
max_align = gb_max(max_align, 16);

LLVMValueRef ptr = llvm_alloca(p, dst_type, max_align);

Expand Down

0 comments on commit dd8e6e8

Please sign in to comment.