Merge pull request #7015 from roc-lang/align-16

Fix alignment of 16 byte types
This commit is contained in:
Anton-4 2024-08-21 19:03:31 +02:00 committed by GitHub
commit faeea52878
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -263,7 +263,7 @@ fn alignment_type(context: &Context, alignment: u32) -> BasicTypeEnum {
2 => context.i16_type().into(),
4 => context.i32_type().into(),
8 => context.i64_type().into(),
16 => context.i128_type().into(),
16 => context.f128_type().into(),
_ => unimplemented!("weird alignment: {alignment}"),
}
}