mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 19:32:23 -07:00
#foreign "custom_name"; <N x i1> bugs (see test.ll and test2.ll)
This commit is contained in:
@@ -560,7 +560,7 @@ i64 type_align_of(BaseTypeSizes s, gbAllocator allocator, Type *t) {
|
||||
case Type_Vector: {
|
||||
i64 size = type_size_of(s, allocator, t->vector.elem);
|
||||
// TODO(bill): Type_Vector type_align_of
|
||||
return gb_clamp(size, 1, 2*s.max_align);
|
||||
return gb_clamp(size, s.max_align, 2*s.max_align);
|
||||
} break;
|
||||
|
||||
case Type_Structure: {
|
||||
|
||||
Reference in New Issue
Block a user