Fix alignment for remaining bitstruct binary ops. Turn off broken Mingw LLVM in CI.

This commit is contained in:
Christoffer Lerno
2023-10-13 14:30:23 +02:00
committed by Christoffer Lerno
parent fed343e3bb
commit 54f32ed71b
3 changed files with 5 additions and 3 deletions

View File

@@ -4012,7 +4012,7 @@ void llvm_emit_bitstruct_binary_op(GenContext *c, BEValue *be_value, BEValue *lh
UNREACHABLE
}
LLVMValueRef store = llvm_emit_alloca(c, big_int, lhs->alignment, "");
LLVMBuildStore(c->builder, val, store);
llvm_store_to_ptr_raw_aligned(c, store, val, lhs->alignment);
llvm_value_set_address(be_value, store, lhs->type, lhs->alignment);
}