diff options
| author | gingerBill <bill@gingerbill.org> | 2022-08-24 13:07:41 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-08-24 13:07:41 +0100 |
| commit | aeacf3a9d8a1f6aa36d5c1315e1d8529bb985847 (patch) | |
| tree | 935f950fa5dd1690dc57df3001410928bd5d1e3a /src/types.cpp | |
| parent | 4ba486baa2d1414393dff0d7ddaff777f4592cbd (diff) | |
Correct max alignment handling throughout the llvm backend
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp index aa4a3c4a1..b7cb4dd2c 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -1428,7 +1428,7 @@ i64 matrix_align_of(Type *t, struct TypePath *tp) { } GB_ASSERT(min_alignment >= elem_align); - i64 align = gb_min(min_alignment, build_context.max_align); + i64 align = gb_min(min_alignment, build_context.max_simd_align); return align; } |