Skip to content

Commit

Permalink
Merge pull request #7015 from roc-lang/align-16
Browse files Browse the repository at this point in the history
Fix alignment of 16 byte types
  • Loading branch information
Anton-4 authored Aug 21, 2024
2 parents 7f8a513 + cf5cd84 commit faeea52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/compiler/gen_llvm/src/llvm/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}"),
}
}
Expand Down

0 comments on commit faeea52

Please sign in to comment.